9 references to ArgumentException
Microsoft.Extensions.Diagnostics.ResourceMonitoring (9)
src\Shared\StringSplit\StringRange.cs (1)
73Throw.ArgumentException(nameof(obj), $"Provided value must be of type {typeof(StringRange)}, but was of type {obj.GetType()}.");
src\Shared\Throw\Throw.cs (8)
81ArgumentException(paramName, $"Member {memberName} of {paramName} is null"); 114ArgumentException(paramName, $"Member {memberName} of {paramName} is null"); 150ArgumentException(paramName, "Argument is whitespace"); 183ArgumentException(paramName, "Argument is an empty string"); 205ArgumentException(paramName, $"Buffer too small, needed a size of {requiredSize} but got {bufferSize}"); 269ArgumentException(paramName, "Collection is empty"); 276ArgumentException(paramName, "Collection is empty"); 285ArgumentException(paramName, "Collection is empty");