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