Skip to content

Commit

Permalink
Regenerate DebugCode. Update release notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvk committed May 23, 2016
1 parent 6375e8d commit 19a2975
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Main/src/Assertions/DebugCode.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static partial class DebugCode
[Conditional(DebugCondition), DebuggerHidden, MethodImpl(AggressiveInlining)]
[AssertionMethod]
public static void NotNull<T>(
[CanBeNull, NoEnumeration] T arg,
[CanBeNull, NoEnumeration, AssertionCondition(AssertionConditionType.IS_NOT_NULL)] T arg,
[NotNull, InvokerParameterName] string argName) where T : class
{
if (arg == null)
Expand All @@ -47,7 +47,7 @@ public static void NotNull<T>(
[Conditional(DebugCondition), DebuggerHidden, MethodImpl(AggressiveInlining)]
[AssertionMethod]
public static void NotNull<T>(
[CanBeNull] T? arg,
[CanBeNull, AssertionCondition(AssertionConditionType.IS_NOT_NULL)] T? arg,
[NotNull, InvokerParameterName] string argName) where T : struct
{
if (arg == null)
Expand Down Expand Up @@ -87,7 +87,7 @@ public static void NotNullNorWhiteSpace(
[Conditional(DebugCondition), DebuggerHidden, MethodImpl(AggressiveInlining)]
[AssertionMethod]
public static void AssertArgument(
bool condition,
[AssertionCondition(AssertionConditionType.IS_TRUE)] bool condition,
[NotNull, InvokerParameterName] string argName,
[NotNull] string message)
{
Expand All @@ -103,7 +103,7 @@ public static void AssertArgument(
[Conditional(DebugCondition), DebuggerHidden, MethodImpl(AggressiveInlining)]
[AssertionMethod, StringFormatMethod("messageFormat")]
public static void AssertArgument(
bool condition,
[AssertionCondition(AssertionConditionType.IS_TRUE)] bool condition,
[NotNull, InvokerParameterName] string argName,
[NotNull] string messageFormat,
[CanBeNull] params object[] args)
Expand Down Expand Up @@ -228,7 +228,7 @@ public static void ValidIndexAndCount(
[Conditional(DebugCondition), DebuggerHidden, MethodImpl(AggressiveInlining)]
[AssertionMethod]
public static void AssertState(
bool condition,
[AssertionCondition(AssertionConditionType.IS_TRUE)] bool condition,
[NotNull] string message)
{
if (!condition)
Expand All @@ -242,7 +242,7 @@ public static void AssertState(
[Conditional(DebugCondition), DebuggerHidden, MethodImpl(AggressiveInlining)]
[AssertionMethod, StringFormatMethod("messageFormat")]
public static void AssertState(
bool condition,
[AssertionCondition(AssertionConditionType.IS_TRUE)] bool condition,
[NotNull] string messageFormat,
[CanBeNull] params object[] args)
{
Expand Down
3 changes: 3 additions & 0 deletions NuGet/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ What's new in 1.1.0-beta4
* EnumerableExtensions.TopoSort methods refactoring
* Lazy.Create helpers for type inference
* Enumerable.SelectMany overload with Fn<T>.Self as selector
* NullableHelper.GetValueOrDefault method with default value factory
* ToByteSizeString overloads for Int32
* Fix resharper markup in Code class
* Fixes and code cleanup

What's new in 1.1.0-beta3
Expand Down

0 comments on commit 19a2975

Please sign in to comment.