Skip to content

Commit 0042a7a

Browse files
committed
Comments
1 parent 9a13323 commit 0042a7a

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Main/src/Collections/ArrayExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public static bool EqualsTo<T>([CanBeNull] this T[] a, [CanBeNull] T[] b) =>
6262
/// </summary>
6363
/// <typeparam name="T">Type of array item.</typeparam>
6464
/// <param name="array">Array to check.</param>
65+
/// <returns><c>True</c>, if array is not empty.</returns>
6566
/// <remarks>This method performs fast check instead of creating enumerator</remarks>
6667
[Pure]
6768
public static bool Any<T>([NotNull] this T[] array)

Main/src/Strings/StringExtensions.Infix.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ public static string Join<T>([NotNull, InstantHandle] this IEnumerable<T> values
182182
/// <summary>
183183
/// Returns length of argument, even if argument is null.
184184
/// </summary>
185+
/// <param name="str">The string.</param>
186+
/// <returns>Length of the <paramref name="str"/> or 0, if <paramref name="str"/> is null.</returns>
185187
[Pure]
186188
public static int Length([CanBeNull] this string str) => str?.Length ?? 0;
187189

Main/src/Threading/AsyncOperationHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public static void Send([NotNull] this AsyncOperation asyncOp, [NotNull] Action
7474
/// <param name="runner">
7575
/// A <see cref="Func{TResult}"/> that wraps the delegate to be called when the operation ends.
7676
/// </param>
77+
/// <returns>Result of <paramref name="runner"/> execution.</returns>
7778
public static T Send<T>([NotNull] this AsyncOperation asyncOp, [NotNull] Func<T> runner)
7879
{
7980
if (asyncOp == null) throw new ArgumentNullException(nameof(asyncOp));

0 commit comments

Comments
 (0)