55 references to ArgumentException
Microsoft.Analyzers.Local.Tests (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.AspNetCore.AsyncState (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.AspNetCore.HeaderParsing (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.AspNetCore.Routing (1)
Template\TemplateParser.cs (1)
30throw new ArgumentException(ex.Message, nameof(routeTemplate), ex);
Microsoft.AspNetCore.Testing (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI.Abstractions (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI.AzureAIInference (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI.Evaluation (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI.Evaluation.Console (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI.Evaluation.Quality (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI.Evaluation.Reporting (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI.Evaluation.Safety (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI.Integration.Tests (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI.Ollama (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AI.OpenAI (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AmbientMetadata.Application (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.AsyncState (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Caching.Hybrid (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Compliance.Abstractions (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Compliance.Redaction (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Compliance.Testing (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.DependencyInjection.AutoActivation (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Diagnostics.ExceptionSummarization (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Diagnostics.Probes (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Diagnostics.Testing (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Hosting.Testing (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Http.Resilience (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.ObjectPool.DependencyInjection (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Options.Contextual (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Resilience (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Telemetry (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.Telemetry.Abstractions (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
Microsoft.Extensions.TimeProvider.Testing (1)
src\Shared\Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
ReachFramework (1)
PrintConfig\FallbackPTProvider.cs (1)
108throw new ArgumentException(
Shared (1)
Throw\Throw.cs (1)
387=> throw new ArgumentException(message, paramName, innerException);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\BaseNumberConverter.cs (1)
80throw new ArgumentException(SR.Format(SR.ConvertInvalidPrimitive, text, TargetType.Name), nameof(value), e);
System.Drawing.Primitives (1)
System\Drawing\ColorTranslator.cs (1)
278throw new ArgumentException(ex.Message, nameof(htmlColor), ex);
System.Net.WebClient (1)
System\Net\WebClient.cs (1)
170throw new ArgumentException(SR.net_webclient_invalid_baseaddress, nameof(value), e);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\FrameworkName.cs (1)
173throw new ArgumentException(SR.Argument_FrameworkNameInvalidVersion, nameof(frameworkName), e);
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolBoundHandle.Portable.cs (1)
94throw new ArgumentException(SR.Argument_NativeOverlappedAlreadyFree, nameof(overlapped), ex);
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\PEReader.cs (1)
731throw new ArgumentException(e.Message, nameof(peImagePath), e);
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
328throw new ArgumentException(SR.Format(SR.CoseHeaderMapArgumentCoseHeaderValueIncorrect, label.LabelName), nameof(value), ex);
System.Transactions.Local (2)
System\Transactions\TransactionManager.cs (2)
191throw new ArgumentException(SR.UnrecognizedRecoveryInformation, nameof(recoveryInformation), e); 199throw new ArgumentException(SR.UnrecognizedRecoveryInformation, nameof(recoveryInformation), e);
System.Windows.Forms (5)
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (2)
131throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), invalidCast); 135throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), nullRef);
System\Windows\Forms\Input\Cursor.cs (1)
440throw new ArgumentException(SR.InvalidPictureFormat, paramName, e);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (2)
88throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), invalidCast); 92throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), nullRef);
System.Windows.Forms.Primitives (2)
System\Windows\Forms\PaddingConverter.cs (2)
101throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), invalidCast); 105throw new ArgumentException(SR.PropertyValueInvalidEntry, nameof(propertyValues), nullRef);