Index: Src/GoogleApis/Apis/Util/Utilities.cs |
=================================================================== |
--- a/Src/GoogleApis/Apis/Util/Utilities.cs |
b/Src/GoogleApis/Apis/Util/Utilities.cs |
@@ -43,12 43,14 @@ |
/// <summary> |
/// Throws an <seealso cref="System.ArgumentNullException"/> if the string is <c>null</c> or empty. |
/// </summary> |
- internal static void ThrowIfNullOrEmpty(this string str, string paramName) |
/// <returns>The original string</returns> |
internal static string ThrowIfNullOrEmpty(this string str, string paramName) |
{ |
if (string.IsNullOrEmpty(str)) |
{ |
throw new ArgumentException("Parameter was empty", paramName); |
} |
return str; |
} |
/// <summary>Returns <c>true</c> in case the enumerable is <c>null</c> or empty. </summary> |