Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvk committed Apr 26, 2016
1 parent 9a13323 commit 0042a7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Main/src/Collections/ArrayExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public static bool EqualsTo<T>([CanBeNull] this T[] a, [CanBeNull] T[] b) =>
/// </summary>
/// <typeparam name="T">Type of array item.</typeparam>
/// <param name="array">Array to check.</param>
/// <returns><c>True</c>, if array is not empty.</returns>
/// <remarks>This method performs fast check instead of creating enumerator</remarks>
[Pure]
public static bool Any<T>([NotNull] this T[] array)
Expand Down
2 changes: 2 additions & 0 deletions Main/src/Strings/StringExtensions.Infix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ public static string Join<T>([NotNull, InstantHandle] this IEnumerable<T> values
/// <summary>
/// Returns length of argument, even if argument is null.
/// </summary>
/// <param name="str">The string.</param>
/// <returns>Length of the <paramref name="str"/> or 0, if <paramref name="str"/> is null.</returns>
[Pure]
public static int Length([CanBeNull] this string str) => str?.Length ?? 0;

Expand Down
1 change: 1 addition & 0 deletions Main/src/Threading/AsyncOperationHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public static void Send([NotNull] this AsyncOperation asyncOp, [NotNull] Action
/// <param name="runner">
/// A <see cref="Func{TResult}"/> that wraps the delegate to be called when the operation ends.
/// </param>
/// <returns>Result of <paramref name="runner"/> execution.</returns>
public static T Send<T>([NotNull] this AsyncOperation asyncOp, [NotNull] Func<T> runner)
{
if (asyncOp == null) throw new ArgumentNullException(nameof(asyncOp));
Expand Down

0 comments on commit 0042a7a

Please sign in to comment.