2192 references to ArgumentException
AndroidAppBuilder (21)
AppleAppBuilder (16)
AssemblyStripper (49)
CodeGenerator (1)
Crossgen2Tasks (2)
dotnet-openapi (12)
dotnet-user-jwts (1)
dotnet-user-secrets (1)
illink (19)
ILLink.RoslynAnalyzer (9)
ILLink.Tasks (6)
installer.tasks (3)
InteropClient (1)
LibraryBuilder (4)
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 (15)
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.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 (9)
Microsoft.Build.Engine (2)
Microsoft.Build.Engine.OM.UnitTests (2)
Microsoft.Build.Engine.UnitTests (8)
Microsoft.Build.Framework (5)
Microsoft.Build.Tasks.Core (24)
Microsoft.Build.UnitTests.Shared (1)
Microsoft.Build.Utilities.Core (1)
Microsoft.DotNet.Build.Tasks.Feed (5)
Microsoft.DotNet.Build.Tasks.Installers (1)
Microsoft.DotNet.Build.Tasks.Packaging (1)
Microsoft.DotNet.Build.Tasks.Workloads (7)
Microsoft.DotNet.Git.IssueManager (6)
Microsoft.DotNet.Helix.JobSender (1)
Microsoft.DotNet.Helix.Sdk (3)
Microsoft.DotNet.SignCheckLibrary (2)
Microsoft.DotNet.SourceBuild.Tasks (2)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
Microsoft.DotNet.VersionTools (28)
Microsoft.DotNet.VersionTools.Tasks (4)
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.Options.SourceGeneration (1)
Microsoft.Extensions.Primitives (3)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.Interop.SourceGeneration (7)
Microsoft.JSInterop (6)
Microsoft.Net.Http.Headers (1)
Microsoft.NET.Sdk.WebAssembly.Pack.Tasks (3)
Microsoft.NET.StringTools.net35 (1)
Microsoft.VisualBasic.Core (1)
Microsoft.Web.Xdt.Extensions (1)
MobileBuildTasks (8)
MonoAOTCompiler (3)
MonoTargetsTasks (3)
MSBuild (2)
MSBuildTaskHost (2)
PresentationBuildTasks (14)
PresentationCore (385)
System\Windows\Media\CharacterMetricsDictionary.cs (8)
139throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
157throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
196throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
199throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
214throw new ArgumentException(SR.Collection_CopyTo_ArrayCannotBeMultidimensional);
219throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(SC.DictionaryEntry), elementType));
381throw new ArgumentException(SR.Format(SR.CollectionDuplicateKey, key));
535throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(CharacterMetrics), value.GetType()));
System\Windows\Media\CultureSpecificStringDictionary.cs (6)
128throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
131throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
162throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
165throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
180throw new ArgumentException(SR.Collection_CopyTo_ArrayCannotBeMultidimensional);
185throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(SC.DictionaryEntry), elementType));
System\Windows\Media\FamilyMapCollection.cs (7)
90throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
93throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
104throw new ArgumentException(SR.Collection_CopyTo_ArrayCannotBeMultidimensional);
108throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(FamilyTypeface), elementType));
111throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array"));
114throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array"));
380throw new ArgumentException(SR.Format(SR.CannotConvertType, obj.GetType(), typeof(FontFamilyMap)));
PresentationFramework (260)
System\Windows\Application.cs (11)
389throw new ArgumentException(SR.Format(SR.ArgumentPropertyMustNotBeNull,"resourceLocator", "OriginalString"));
392throw new ArgumentException(SR.AbsoluteUriNotAllowed);
478throw new ArgumentException(SR.Format(SR.ArgumentPropertyMustNotBeNull,"resourceLocator", "OriginalString"));
481throw new ArgumentException(SR.AbsoluteUriNotAllowed);
613throw new ArgumentException(SR.Format(SR.ArgumentPropertyMustNotBeNull, "uriResource", "OriginalString"));
617throw new ArgumentException(SR.NonPackAppAbsoluteUriNotAllowed);
645throw new ArgumentException(SR.Format(SR.ArgumentPropertyMustNotBeNull, "uriContent", "OriginalString"));
649throw new ArgumentException(SR.NonPackAppAbsoluteUriNotAllowed);
674throw new ArgumentException(SR.Format(SR.ArgumentPropertyMustNotBeNull, "uriRemote", "OriginalString"));
680throw new ArgumentException(SR.NonPackSooAbsoluteUriNotAllowed);
1649throw new ArgumentException(SR.Format(SR.WindowPassedShouldBeOnApplicationThread, window.GetType().FullName, this.GetType().FullName));
System\Windows\Documents\TextElement.cs (6)
105throw new ArgumentException(SR.TextElement_UnmatchedEndPointer);
131throw new ArgumentException(SR.Format(SR.InDifferentScope, "start", "end"));
824throw new ArgumentException(SR.Format(SR.TextSchema_ThisInlineUIContainerHasAChildUIElementAlready, this.GetType().Name, ((InlineUIContainer)this).Child.GetType().Name, value.GetType().Name));
836throw new ArgumentException(SR.Format(SR.TextSchema_ThisBlockUIContainerHasAChildUIElementAlready, this.GetType().Name, ((BlockUIContainer)this).Child.GetType().Name, value.GetType().Name));
852throw new ArgumentException(SR.Format(SR.TextSchema_ChildTypeIsInvalid, this.GetType().Name, value.GetType().Name));
859throw new ArgumentException(SR.Format(SR.TextSchema_ChildTypeIsInvalid, this.GetType().Name, value.GetType().Name));
PresentationUI (1)
ReachFramework (14)
ResultsOfTGenerator (1)
System.Collections (22)
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.Console (3)
System.Data.Common (10)
System.Diagnostics.DiagnosticSource (5)
System.Diagnostics.Process (1)
System.Diagnostics.TraceSource (2)
System.Drawing.Primitives (2)
System.Formats.Cbor (1)
System.Formats.Tar (4)
System.IO.Compression (4)
System.IO.FileSystem.Watcher (1)
System.IO.IsolatedStorage (4)
System.IO.MemoryMappedFiles (6)
System.IO.Pipes (1)
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 (21)
System.ObjectModel (1)
System.Private.CoreLib (388)
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.Xml (124)
System.Private.Xml.Linq (21)
System.Reflection.Context (5)
System.Reflection.Emit (25)
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.Security.Cryptography (59)
System.Security.Cryptography.Cose (1)
System.Text.Encoding.CodePages (9)
System.Text.Encodings.Web (1)
System.Text.Json (11)
System.Text.Json.SourceGeneration (1)
System.Text.RegularExpressions (3)
System.Text.RegularExpressions.Generator (2)
System.Threading.Tasks.Parallel (1)
System.Windows.Controls.Ribbon (5)
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)
TestExclusionListTasks (18)
UIAutomationClient (19)
UIAutomationClientSideProviders (5)
UIAutomationProvider (2)
WasmAppBuilder (3)
WindowsFormsIntegration (2)
WorkloadBuildTasks (3)
xunit.console (34)