From 19a29751b94648b449b26e88655ec4ed67f9566d Mon Sep 17 00:00:00 2001 From: andrewvk Date: Mon, 23 May 2016 12:05:06 +0300 Subject: [PATCH] Regenerate DebugCode. Update release notes. --- Main/src/Assertions/DebugCode.generated.cs | 12 ++++++------ NuGet/Readme.txt | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Main/src/Assertions/DebugCode.generated.cs b/Main/src/Assertions/DebugCode.generated.cs index 133882ce4..46d1c913d 100644 --- a/Main/src/Assertions/DebugCode.generated.cs +++ b/Main/src/Assertions/DebugCode.generated.cs @@ -33,7 +33,7 @@ public static partial class DebugCode [Conditional(DebugCondition), DebuggerHidden, MethodImpl(AggressiveInlining)] [AssertionMethod] public static void NotNull( - [CanBeNull, NoEnumeration] T arg, + [CanBeNull, NoEnumeration, AssertionCondition(AssertionConditionType.IS_NOT_NULL)] T arg, [NotNull, InvokerParameterName] string argName) where T : class { if (arg == null) @@ -47,7 +47,7 @@ public static void NotNull( [Conditional(DebugCondition), DebuggerHidden, MethodImpl(AggressiveInlining)] [AssertionMethod] public static void NotNull( - [CanBeNull] T? arg, + [CanBeNull, AssertionCondition(AssertionConditionType.IS_NOT_NULL)] T? arg, [NotNull, InvokerParameterName] string argName) where T : struct { if (arg == null) @@ -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) { @@ -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) @@ -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) @@ -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) { diff --git a/NuGet/Readme.txt b/NuGet/Readme.txt index fdc03c650..fb74e0cf4 100644 --- a/NuGet/Readme.txt +++ b/NuGet/Readme.txt @@ -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.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