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)
82ArgumentException(paramName, $"Member {memberName} of {paramName} is null"); 115ArgumentException(paramName, $"Member {memberName} of {paramName} is null"); 151ArgumentException(paramName, "Argument is whitespace"); 184ArgumentException(paramName, "Argument is an empty string"); 206ArgumentException(paramName, $"Buffer too small, needed a size of {requiredSize} but got {bufferSize}"); 270ArgumentException(paramName, "Collection is empty"); 277ArgumentException(paramName, "Collection is empty"); 286ArgumentException(paramName, "Collection is empty");