13 references to ArgumentException
Microsoft.Extensions.Telemetry (13)
Http\HttpRouteParser.cs (1)
218Throw.ArgumentException(nameof(httpRoute), "A catch-all parameter must be the last segment in the route.");
Latency\Internal\LatencyContextRegistrySet.cs (1)
56Throw.ArgumentException(nameof(names), "Found null or whitespace name in supplied set");
Latency\Internal\Registry.cs (2)
38Throw.ArgumentException(nameof(keys), "Supplied set contains null values"); 74Throw.ArgumentException(nameof(key), $"Name {key} has not been registered.");
Logging\ExtendedLoggerFactory.cs (1)
55Throw.ArgumentException($"{_factoryOptions.ActivityTrackingOptions} is invalid ActivityTrackingOptions value.", nameof(factoryOptions));
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");