3174 references to ArgumentException
aspire (1)
Aspire.Dashboard (2)
Aspire.EndToEnd.Tests (13)
Aspire.Hosting (9)
Aspire.Hosting.Docker (2)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (3)
Aspire.Playground.Tests (2)
Aspire.Templates.Tests (9)
BoundTreeGenerator (1)
CodeGenerator (1)
ConfigurationSchemaGenerator (1)
Crossgen2Tasks (2)
csc (1)
DesignSurface (1)
DesignSurfaceExt (1)
dotnet-openapi (12)
dotnet-svcutil.xmlserializer (9)
dotnet-svcutil-lib (208)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (6)
261throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlSpecificBindingNamespace, "xmlns", ns)));
263throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlSpecificBindingNamespace, "xml", ns)));
322throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlInvalidXmlSpace, _attributeValue)));
375throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlInvalidXmlSpace, _attributeValue)));
1942throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlSpecificBindingNamespace, "xmlns", uri)));
1945throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlSpecificBindingNamespace, "xml", uri)));
FrameworkFork\System.ServiceModel\Framework\System\ComponentModel\InvalidEnumArgumentException.cs (1)
26: base(message)
Shared\ProjectDependency.cs (10)
77throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, filePath, nameof(filePath)));
82throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName)));
91throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageVersion, nameof(packageVersion)));
96throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, dependencyType, nameof(dependencyType)));
104throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName)));
110throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName)));
120throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName)));
127throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, filePath, nameof(filePath)));
140throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, filePath, nameof(filePath)));
180throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, dependencySpec, nameof(dependencySpec)));
dotnet-user-jwts (1)
dotnet-user-secrets (1)
GenerateDocumentationAndConfigFiles (1)
IdeBenchmarks (1)
IdeCoreBenchmarks (14)
illink (19)
ILLink.RoslynAnalyzer (9)
ILLink.Tasks (6)
installer.tasks (3)
InteropClient (1)
Metrics (1)
Metrics.Legacy (1)
Microsoft.AspNetCore.Antiforgery.Test (1)
Microsoft.AspNetCore.App.Analyzers (2)
Microsoft.AspNetCore.App.Analyzers.Test (5)
RouteEmbeddedLanguage\Infrastructure\MarkupTestFile.cs (5)
124throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "Saw multiple occurrences of {0}", PositionString));
137throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "Saw {0} without matching {1}", SpanEndString, SpanStartString));
151throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "Saw {0} without matching {1}", NamedSpanEndString, NamedSpanStartString));
164throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "Saw {0} without matching {1}", SpanStartString, SpanEndString));
169throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "Saw {0} without matching {1}", NamedSpanEndString, NamedSpanEndString));
Microsoft.AspNetCore.Authentication.Abstractions (1)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Components (16)
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Forms (7)
Microsoft.AspNetCore.Components.QuickGrid (2)
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Microsoft.AspNetCore.Components.Server (4)
Microsoft.AspNetCore.Components.Web (4)
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Microsoft.AspNetCore.Http (1)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (1)
Microsoft.AspNetCore.JsonPatch.Tests (1)
Microsoft.AspNetCore.Localization (1)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
Microsoft.AspNetCore.Mvc.Core (11)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
Microsoft.AspNetCore.Mvc.Razor (1)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Microsoft.AspNetCore.OutputCaching (1)
Microsoft.AspNetCore.RateLimiting.Tests (2)
Microsoft.AspNetCore.Rewrite (5)
Microsoft.AspNetCore.Routing (10)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.IntegrationTesting (10)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.Shared.Tests (1)
Microsoft.AspNetCore.SignalR.Common (1)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.StaticFiles (1)
Microsoft.AspNetCore.WebUtilities (1)
Microsoft.Build (10)
Microsoft.Build.Engine.OM.UnitTests (2)
Microsoft.Build.Engine.UnitTests (8)
Microsoft.Build.Framework (5)
Microsoft.Build.Tasks.CodeAnalysis (2)
Microsoft.Build.Tasks.Core (28)
Microsoft.Build.UnitTests.Shared (1)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis (28)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.Analyzers.UnitTests (3)
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
Microsoft.CodeAnalysis.CodeStyle (11)
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.Collections.Package (5)
Microsoft.CodeAnalysis.CSharp (51)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
Microsoft.CodeAnalysis.CSharp.Features (4)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
Microsoft.CodeAnalysis.EditorFeatures (4)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (5)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (3)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (2)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Microsoft.CodeAnalysis.Features (11)
Microsoft.CodeAnalysis.InteractiveHost (5)
Microsoft.CodeAnalysis.LanguageServer (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
Microsoft.CodeAnalysis.ResxSourceGenerator.UnitTests (2)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.Test.Utilities (5)
Microsoft.CodeAnalysis.Threading.Package (5)
Microsoft.CodeAnalysis.UnitTests (3)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Microsoft.CodeAnalysis.Workspaces (77)
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (8)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.Data.Analysis (29)
DataFrameColumnCollection.cs (16)
240throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(DateTime)));
257throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(string)));
274throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(string)));
291throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(Boolean)));
308throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(Byte)));
325throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(Char)));
342throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(Double)));
359throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(Decimal)));
376throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(Single)));
393throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(Int32)));
410throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(Int64)));
427throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(SByte)));
444throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(Int16)));
461throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(string)));
478throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(UInt64)));
495throw new ArgumentException(string.Format(Strings.BadColumnCast, column.DataType, typeof(UInt16)));
Microsoft.Data.Analysis.Tests (3)
Microsoft.DotNet.Build.Manifest (3)
Microsoft.DotNet.Build.Tasks.Feed (7)
Microsoft.DotNet.Build.Tasks.Installers (2)
Microsoft.DotNet.Build.Tasks.Packaging (1)
Microsoft.DotNet.Build.Tasks.Workloads (8)
Microsoft.DotNet.Git.IssueManager (7)
Microsoft.DotNet.Helix.JobSender (1)
Microsoft.DotNet.Helix.Sdk (3)
Microsoft.DotNet.RemoteExecutor (1)
Microsoft.DotNet.SignCheckLibrary (4)
Microsoft.DotNet.SourceBuild.Tasks (2)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Extensions.AI.Tests (1)
Microsoft.Extensions.Caching.Hybrid.Tests (1)
Microsoft.Extensions.Caching.SqlServer (1)
Microsoft.Extensions.DependencyInjection (6)
Microsoft.Extensions.FileSystemGlobbing (1)
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.Logging.Generators (1)
Microsoft.Extensions.ML (3)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Extensions.Primitives (3)
Microsoft.Gen.Logging (1)
Microsoft.Gen.Logging.Generated.Tests (8)
LogMethodTests.cs (8)
212CollectionTestExtensions.M9(logger, LogLevel.Critical, 0, new ArgumentException("Foo"), 1);
526ExceptionTestExtensions.M0(logger, new ArgumentException("Foo"), new ArgumentException("Bar"));
533ExceptionTestExtensions.M1(new ArgumentException("Foo"), logger, new ArgumentException("Bar"));
540ExceptionTestExtensions.M2(logger, "One", new ArgumentException("Foo"));
547var exception = new ArgumentException("Foo");
760AtSymbolsTestExtensions.UseAtSymbol4(logger, LogLevel.Debug, "42", 42, new ArgumentException("Foo"));
Microsoft.Gen.Metrics (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
Microsoft.Interop.SourceGeneration (7)
Microsoft.JSInterop (6)
Microsoft.Maui (3)
Microsoft.Maui.Controls (28)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.Maui.Controls.Maps (1)
Microsoft.Maui.Controls.Xaml (4)
Microsoft.Maui.Essentials (6)
Microsoft.ML.AutoML (20)
Microsoft.ML.AutoML.SourceGenerator (2)
Microsoft.ML.AutoML.Tests (1)
Microsoft.ML.CodeGenerator (4)
Microsoft.ML.DataView (1)
Microsoft.ML.GenAI.Core (7)
Microsoft.ML.GenAI.LLaMA (2)
Microsoft.ML.GenAI.Mistral (2)
Microsoft.ML.GenAI.Phi (5)
Microsoft.ML.ImageAnalytics (2)
Microsoft.ML.OnnxTransformer (2)
Microsoft.ML.SearchSpace (5)
Microsoft.ML.TensorFlow (1)
Microsoft.ML.TimeSeries (1)
Microsoft.ML.Tokenizers (19)
Microsoft.ML.Tokenizers.Tests (3)
Microsoft.ML.TorchSharp (11)
Microsoft.Net.Http.Headers (1)
Microsoft.NET.StringTools.net35 (1)
Microsoft.VisualBasic.Core (1)
Microsoft.VisualStudio.LanguageServices (9)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Microsoft.Web.Xdt.Extensions (1)
MSBuild (1)
MSBuildTaskHost (2)
MyFrontend (1)
PresentationBuildTasks (14)
PresentationCore (369)
System\Windows\Media\CharacterMetricsDictionary.cs (8)
121throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
139throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
178throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
181throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
196throw new ArgumentException(SR.Collection_CopyTo_ArrayCannotBeMultidimensional);
201throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(SC.DictionaryEntry), elementType));
363throw new ArgumentException(SR.Format(SR.CollectionDuplicateKey, key));
517throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(CharacterMetrics), value.GetType()));
System\Windows\Media\CultureSpecificStringDictionary.cs (6)
113throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
116throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
147throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
150throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
165throw new ArgumentException(SR.Collection_CopyTo_ArrayCannotBeMultidimensional);
170throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(SC.DictionaryEntry), elementType));
System\Windows\Media\FamilyMapCollection.cs (7)
77throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
80throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
91throw new ArgumentException(SR.Collection_CopyTo_ArrayCannotBeMultidimensional);
95throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(FamilyTypeface), elementType));
98throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
101throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
367throw new ArgumentException(SR.Format(SR.CannotConvertType, obj.GetType(), typeof(FontFamilyMap)));
PresentationFramework (260)
System\Windows\Application.cs (12)
352throw new ArgumentException(SR.Format(SR.ArgumentPropertyMustNotBeNull,"resourceLocator", "OriginalString"));
355throw new ArgumentException(SR.AbsoluteUriNotAllowed);
442throw new ArgumentException(SR.Format(SR.ArgumentPropertyMustNotBeNull,"resourceLocator", "OriginalString"));
445throw new ArgumentException(SR.AbsoluteUriNotAllowed);
579throw new ArgumentException(SR.Format(SR.ArgumentPropertyMustNotBeNull, "uriResource", "OriginalString"));
583throw new ArgumentException(SR.NonPackAppAbsoluteUriNotAllowed);
611throw new ArgumentException(SR.Format(SR.ArgumentPropertyMustNotBeNull, "uriContent", "OriginalString"));
615throw new ArgumentException(SR.NonPackAppAbsoluteUriNotAllowed);
640throw new ArgumentException(SR.Format(SR.ArgumentPropertyMustNotBeNull, "uriRemote", "OriginalString"));
646throw new ArgumentException(SR.NonPackSooAbsoluteUriNotAllowed);
971throw new ArgumentException(string.Format("ThemeMode value {0} is invalid. Use None, System, Light or Dark", value));
1687throw new ArgumentException(SR.Format(SR.WindowPassedShouldBeOnApplicationThread, window.GetType().FullName, this.GetType().FullName));
System\Windows\Documents\TextElement.cs (6)
100throw new ArgumentException(SR.TextElement_UnmatchedEndPointer);
123throw new ArgumentException(SR.Format(SR.InDifferentScope, "start", "end"));
808throw new ArgumentException(SR.Format(SR.TextSchema_ThisInlineUIContainerHasAChildUIElementAlready, this.GetType().Name, ((InlineUIContainer)this).Child.GetType().Name, value.GetType().Name));
820throw new ArgumentException(SR.Format(SR.TextSchema_ThisBlockUIContainerHasAChildUIElementAlready, this.GetType().Name, ((BlockUIContainer)this).Child.GetType().Name, value.GetType().Name));
836throw new ArgumentException(SR.Format(SR.TextSchema_ChildTypeIsInvalid, this.GetType().Name, value.GetType().Name));
843throw new ArgumentException(SR.Format(SR.TextSchema_ChildTypeIsInvalid, this.GetType().Name, value.GetType().Name));
PresentationFramework.Fluent.Tests (1)
PresentationUI (1)
ReachFramework (14)
Replay (1)
ResultsOfTGenerator (1)
Roslyn.Diagnostics.Analyzers (1)
Roslyn.Test.PdbUtilities (5)
RunTests (1)
System.Collections (27)
System.Collections.Concurrent (10)
System.Collections.Immutable (8)
System.Collections.NonGeneric (5)
System.Collections.Specialized (6)
System.ComponentModel.Annotations (1)
System.ComponentModel.Composition (8)
System.ComponentModel.Primitives (2)
System.ComponentModel.TypeConverter (59)
System.Composition.Convention (1)
System.Configuration.ConfigurationManager (31)
System\Configuration\ConfigurationElementCollection.cs (7)
48throw new ArgumentException(SR.Format(SR.Item_name_reserved, DefaultAddItemName, value));
58throw new ArgumentException(SR.Format(SR.Item_name_reserved, DefaultRemoveItemName, value));
69throw new ArgumentException(SR.Format(SR.Item_name_reserved, DefaultClearItemsName, value));
625throw new ArgumentException(SR.Format(SR.Basicmap_item_name_reserved, ElementName));
1061throw new ArgumentException(SR.Format(SR.Basicmap_item_name_reserved,
1138throw new ArgumentException(SR.Format(SR.Basicmap_item_name_reserved, elementName));
1150throw new ArgumentException(SR.Format(SR.Basicmap_item_name_reserved, elementName));
System.Console (3)
System.Data.Common (10)
System.Data.Odbc (4)
System.Diagnostics.DiagnosticSource (5)
System.Diagnostics.Process (1)
System.Diagnostics.TraceSource (2)
System.Drawing.Primitives (2)
System.Formats.Cbor (1)
System.Formats.Tar (5)
System.IO.Compression (4)
System.IO.FileSystem.Watcher (1)
System.IO.IsolatedStorage (4)
System.IO.MemoryMappedFiles (6)
System.IO.Packaging (34)
System.IO.Pipes (1)
System.IO.Ports (8)
System.Linq.Expressions (35)
System\Linq\Expressions\Error.cs (34)
19return new ArgumentException(Strings.ReducibleMustOverrideReduce);
26return new ArgumentException(Strings.ArgCntMustBeGreaterThanNameCnt);
75return new ArgumentException(Strings.MustReduceToDifferent);
117return new ArgumentException(Strings.ReducedNotCompatible);
152return new ArgumentException(Strings.FirstArgumentMustBeCallSite);
180return new ArgumentException(Strings.TypeMustBeDerivedFromSystemDelegate);
261return new ArgumentException(Strings.OnlyStaticMethodsHaveNullInstance);
296return new ArgumentException(Strings.MustBeReducible);
373return new ArgumentException(Strings.StartEndMustBeOrdered);
387return new ArgumentException(Strings.TryMustHaveCatchFinallyOrFault);
394return new ArgumentException(Strings.BodyOfCatchMustHaveSameTypeAsBodyOfTry);
471return new ArgumentException(Strings.ArgumentTypeCannotBeVoid);
570return new ArgumentException(Strings.ArgumentTypesMustMatch);
649return new ArgumentException(Strings.ExpressionTypeDoesNotMatchReturn(p0, p1));
656return new ArgumentException(Strings.ExpressionTypeDoesNotMatchAssignment(p0, p1));
663return new ArgumentException(Strings.ExpressionTypeDoesNotMatchLabel(p0, p1));
677return new ArgumentException(Strings.FieldNotDefinedForType(p0, p1));
684return new ArgumentException(Strings.InstanceFieldNotDefinedForType(p0, p1));
691return new ArgumentException(Strings.FieldInfoNotDefinedForType(p0, p1, p2));
698return new ArgumentException(Strings.IncorrectNumberOfIndexes);
705return new ArgumentException(Strings.IncorrectNumberOfLambdaDeclarationParameters);
713return new ArgumentException(Strings.IncorrectNumberOfMembersForGivenConstructor);
720return new ArgumentException(Strings.IncorrectNumberOfArgumentsForMembers);
820return new ArgumentException(Strings.ParameterExpressionNotValidAsDelegate(p0, p1));
841return new ArgumentException(Strings.InstancePropertyWithoutParameterNotDefinedForType(p0, p1));
855return new ArgumentException(Strings.InstanceAndMethodTypeMismatch(p0, p1, p2));
914return new ArgumentException(Strings.UnhandledBinding);
921return new ArgumentException(Strings.UnhandledBindingType(p0));
943return new ArgumentException(Strings.UserDefinedOpMustHaveConsistentTypes(p0, p1));
950return new ArgumentException(Strings.UserDefinedOpMustHaveValidReturnType(p0, p1));
957return new ArgumentException(Strings.LogicalOperatorMustHaveBooleanOperators(p0, p1));
1172return new ArgumentException(Strings.TestValueTypeDoesNotMatchComparisonMethodParameter(p0, p1));
1179return new ArgumentException(Strings.SwitchValueTypeDoesNotMatchComparisonMethodParameter(p0, p1));
1277return new ArgumentException(Strings.IncorrectNumberOfConstructorArguments);
System.Linq.Parallel (2)
System.Linq.Queryable (2)
System.Memory (1)
System.Net.Http (4)
System.Net.Http.Json (1)
System.Net.HttpListener (1)
System.Net.Mail (2)
System.Net.Security (1)
System.Net.Sockets (3)
System.Numerics.Tensors (26)
System.ObjectModel (1)
System.Private.CoreLib (395)
System.Private.DataContractSerialization (17)
System\Xml\XmlBaseWriter.cs (6)
272throw new ArgumentException(SR.Format(SR.XmlSpecificBindingNamespace, "xmlns", ns));
274throw new ArgumentException(SR.Format(SR.XmlSpecificBindingNamespace, "xml", ns));
334throw new ArgumentException(SR.Format(SR.XmlInvalidXmlSpace, _attributeValue));
398throw new ArgumentException(SR.Format(SR.XmlInvalidXmlSpace, _attributeValue));
2169throw new ArgumentException(SR.Format(SR.XmlSpecificBindingNamespace, "xmlns", uri));
2172throw new ArgumentException(SR.Format(SR.XmlSpecificBindingNamespace, "xml", uri));
System.Private.Uri (2)
System.Private.Windows.Core (33)
System.Private.Windows.Core.TestUtilities (3)
System.Private.Xml (124)
System.Private.Xml.Linq (21)
System.Reflection.Context (5)
System.Reflection.Emit (21)
System.Reflection.Metadata (3)
System.Reflection.MetadataLoadContext (17)
System.Resources.Extensions (10)
System.Resources.Writer (4)
System.Runtime.Caching (6)
System.Runtime.Numerics (2)
System.Runtime.Serialization.Formatters (7)
System.Runtime.Serialization.Schema (1)
System.Security.Cryptography (66)
System.Security.Cryptography.Cose (1)
System.Security.Cryptography.Pkcs (11)
System.Security.Cryptography.Xml (3)
System.Security.Permissions (3)
System.ServiceModel.Syndication (1)
System.Text.Encoding.CodePages (9)
System.Text.Encodings.Web (1)
System.Text.Json (12)
System.Text.Json.SourceGeneration (1)
System.Text.RegularExpressions (3)
System.Text.RegularExpressions.Generator (2)
System.Threading.Tasks.Parallel (1)
System.Web.Services.Description (3)
System.Windows.Controls.Ribbon (5)
System.Windows.Forms (186)
System.Windows.Forms.Analyzers.CSharp (1)
System.Windows.Forms.Design (24)
System.Windows.Forms.IntegrationTests.Common (3)
System.Windows.Forms.Primitives (2)
System.Windows.Forms.Primitives.TestUtilities (2)
System.Xaml (34)
Templates.Blazor.Tests (1)
Templates.Blazor.WebAssembly.Auth.Tests (1)
Templates.Blazor.WebAssembly.Tests (1)
Templates.Mvc.Tests (1)
Templates.Tests (1)
Test.Utilities (1)
TestProject.AppHost (2)
TestProject.IntegrationServiceA (1)
Text.Analyzers (1)
UIAutomationClient (19)
UIAutomationClientSideProviders (5)
UIAutomationProvider (2)
vbc (1)
VBCSCompiler (1)
WindowsFormsIntegration (2)
xunit.console (34)