508 references to ArgumentException
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\CustomAttributeProvider.cs (1)
50throw ExceptionHelper.AsError(new ArgumentException());
ToolArgumentException.cs (1)
20internal ToolArgumentException() : base()
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\ToolArgumentException.cs (1)
22internal ToolArgumentException() : base()
GenerateDocumentationAndConfigFiles (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
348throw new ArgumentException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
251throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (2)
60throw new ArgumentException(); 63throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
33throw new ArgumentException();
ILCompiler.Compiler (6)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.Reader.cs (4)
24throw new ArgumentException(); 32throw new ArgumentException(); 40throw new ArgumentException(); 43throw new ArgumentException();
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (2)
261throw new ArgumentException(); 283throw new ArgumentException();
ILCompiler.MetadataTransform (63)
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\NativeFormatReaderGen.cs (63)
109throw new ArgumentException(); 190throw new ArgumentException(); 270throw new ArgumentException(); 350throw new ArgumentException(); 430throw new ArgumentException(); 510throw new ArgumentException(); 590throw new ArgumentException(); 670throw new ArgumentException(); 750throw new ArgumentException(); 830throw new ArgumentException(); 914throw new ArgumentException(); 998throw new ArgumentException(); 1078throw new ArgumentException(); 1158throw new ArgumentException(); 1238throw new ArgumentException(); 1318throw new ArgumentException(); 1398throw new ArgumentException(); 1478throw new ArgumentException(); 1558throw new ArgumentException(); 1634throw new ArgumentException(); 1714throw new ArgumentException(); 1794throw new ArgumentException(); 1874throw new ArgumentException(); 1954throw new ArgumentException(); 2035throw new ArgumentException(); 2117throw new ArgumentException(); 2197throw new ArgumentException(); 2277throw new ArgumentException(); 2357throw new ArgumentException(); 2437throw new ArgumentException(); 2517throw new ArgumentException(); 2597throw new ArgumentException(); 2687throw new ArgumentException(); 2784throw new ArgumentException(); 2885throw new ArgumentException(); 2966throw new ArgumentException(); 3046throw new ArgumentException(); 3147throw new ArgumentException(); 3237throw new ArgumentException(); 3341throw new ArgumentException(); 3427throw new ArgumentException(); 3511throw new ArgumentException(); 3610throw new ArgumentException(); 3690throw new ArgumentException(); 3780throw new ArgumentException(); 3874throw new ArgumentException(); 3971throw new ArgumentException(); 4056throw new ArgumentException(); 4153throw new ArgumentException(); 4234throw new ArgumentException(); 4335throw new ArgumentException(); 4425throw new ArgumentException(); 4509throw new ArgumentException(); 4593throw new ArgumentException(); 4674throw new ArgumentException(); 4814throw new ArgumentException(); 4922throw new ArgumentException(); 5060throw new ArgumentException(); 5148throw new ArgumentException(); 5234throw new ArgumentException(); 5319throw new ArgumentException(); 5400throw new ArgumentException(); 5480throw new ArgumentException();
ILCompiler.ReadyToRun (7)
Compiler\ReadyToRunTableManager.cs (1)
156throw new ArgumentException();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.Reader.cs (4)
24throw new ArgumentException(); 32throw new ArgumentException(); 40throw new ArgumentException(); 43throw new ArgumentException();
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (2)
261throw new ArgumentException(); 283throw new ArgumentException();
ILCompiler.TypeSystem (2)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\TypeDesc.cs (1)
126throw new ArgumentException();
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaSignatureParser.cs (1)
467throw new ArgumentException();
ILLink.RoslynAnalyzer (1)
src\runtime\src\libraries\Common\src\System\Reflection\AssemblyNameFormatter.cs (1)
72throw new ArgumentException();
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpHeaders.cs (1)
102throw new ArgumentException();
Microsoft.Build (2)
src\5057ed6cf5d6323b\ImmutableSegmentedList`1.cs (1)
348throw new ArgumentException();
src\5057ed6cf5d6323b\ImmutableSegmentedList`1+ValueBuilder.cs (1)
251throw new ArgumentException();
Microsoft.CodeAnalysis (2)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
348throw new ArgumentException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
251throw new ArgumentException();
Microsoft.CodeAnalysis.Analyzers (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
348throw new ArgumentException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
251throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (2)
60throw new ArgumentException(); 63throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
33throw new ArgumentException();
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
348throw new ArgumentException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
251throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (2)
60throw new ArgumentException(); 63throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
33throw new ArgumentException();
Microsoft.CodeAnalysis.CodeStyle (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
348throw new ArgumentException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
251throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (2)
60throw new ArgumentException(); 63throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
33throw new ArgumentException();
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.QueryUnboundLambdaState.cs (1)
56public override TypeWithAnnotations ParameterTypeWithAnnotations(int index) { throw new ArgumentException(); } // implicitly typed
Symbols\ReducedExtensionMethodSymbol.cs (1)
267throw new System.ArgumentException();
Utilities\TypeUnionValueSet.cs (1)
291throw new ArgumentException();
Utilities\ValueSetFactory.BoolValueSet.cs (1)
41ConstantValue IConstantValueSet.Sample => ConstantValue.Create(_hasTrue ? true : _hasFalse ? false : throw new ArgumentException());
Utilities\ValueSetFactory.EnumeratedValueSet.cs (1)
52if (IsEmpty) throw new ArgumentException();
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
56throw new ArgumentException();
Utilities\ValueSetFactory.NintValueSet.cs (1)
53throw new ArgumentException();
Utilities\ValueSetFactory.NuintValueSet.cs (1)
44throw new ArgumentException();
Utilities\ValueSetFactory.NumericValueSet.cs (1)
61throw new ArgumentException();
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\CSharpStructuredTriviaFormatEngine.cs (1)
22var root = trivia.GetStructure() ?? throw new ArgumentException();
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\CSharpStructuredTriviaFormatEngine.cs (1)
22var root = trivia.GetStructure() ?? throw new ArgumentException();
Microsoft.CodeAnalysis.Extensions.Package (3)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
348throw new ArgumentException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
251throw new ArgumentException();
Symbols\ISymbolExtensions_Accessibility.cs (1)
33throw new ArgumentException();
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
348throw new ArgumentException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
251throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (2)
60throw new ArgumentException(); 63throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
33throw new ArgumentException();
Microsoft.CodeAnalysis.VisualBasic (5)
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
51Throw New ArgumentException()
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
64Throw New ArgumentException()
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
56Throw New ArgumentException()
Symbols\Retargeting\RetargetingNamespaceSymbol.vb (1)
42Throw New ArgumentException()
Symbols\Retargeting\RetargetingTypeParameterSymbol.vb (1)
40Throw New ArgumentException()
Microsoft.CodeAnalysis.Workspaces (6)
Log\HistogramLogAggregator.cs (1)
25throw new ArgumentException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
348throw new ArgumentException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
251throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (2)
60throw new ArgumentException(); 63throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
33throw new ArgumentException();
Microsoft.CSharp (1)
src\runtime\src\libraries\Common\src\System\Runtime\InteropServices\BuiltInVariantExtensions.cs (1)
126throw new ArgumentException();
Microsoft.Data.Analysis (2)
DataFrame.IO.cs (2)
156throw new ArgumentException(); 160throw new ArgumentException();
Microsoft.Diagnostics.DataContractReader.Legacy (150)
ClrDataExceptionState.cs (3)
141throw new ArgumentException(); 150throw new ArgumentException(); 332throw new ArgumentException();
ClrDataFrame.cs (1)
70throw new ArgumentException();
ClrDataMethodDefinition.cs (3)
286throw new ArgumentException(); 290throw new ArgumentException(); 318throw new ArgumentException();
ClrDataMethodInstance.cs (1)
161throw new ArgumentException();
ClrDataModule.cs (12)
180throw new ArgumentException(); 362throw new ArgumentException(); 364throw new ArgumentException(); 401throw new ArgumentException(); 457throw new ArgumentException(); 511throw new ArgumentException(); 810throw new ArgumentException(); 816throw new ArgumentException(); 822throw new ArgumentException(); 828throw new ArgumentException(); 833throw new ArgumentException(); 934throw new ArgumentException();
ClrDataStackWalk.cs (1)
151throw new ArgumentException();
ClrDataTypeDefinition.cs (1)
125throw new ArgumentException();
ClrDataValue.cs (9)
545throw new ArgumentException(); 586throw new ArgumentException(); 646throw new ArgumentException(); 651throw new ArgumentException(); 663throw new ArgumentException(); 667throw new ArgumentException(); 962throw new ArgumentException(); 977throw new ArgumentException(); 1166throw new ArgumentException();
SOSDacImpl.cs (106)
351throw new ArgumentException(); 492throw new ArgumentException(); 588throw new ArgumentException(); 661throw new ArgumentException(); 691throw new ArgumentException(); 746throw new ArgumentException(); 790throw new ArgumentException(); 800throw new ArgumentException(); 876throw new ArgumentException(); 965throw new ArgumentException(); 1060throw new ArgumentException(); 1099throw new ArgumentException(); 1230throw new ArgumentException(); 1235throw new ArgumentException(); 1281throw new ArgumentException(); 1391throw new ArgumentException(); 1398throw new ArgumentException(); 1525throw new ArgumentException(); 1532throw new ArgumentException(); 1962throw new ArgumentException(); 2008throw new ArgumentException(); 2055throw new ArgumentException(); 2141throw new ArgumentException(); 2174throw new ArgumentException(); 2284throw new ArgumentException(); 2335throw new ArgumentException(); 2337throw new ArgumentException(); 2341throw new ArgumentException(); 2636throw new ArgumentException(); 2656throw new ArgumentException(); 2686throw new ArgumentException(); 2774throw new ArgumentException(); 2779throw new ArgumentException(); 2811throw new ArgumentException(); 2863throw new ArgumentException(); 2886throw new ArgumentException(); 2958throw new ArgumentException(); 3001throw new ArgumentException(); 3031throw new ArgumentException(); 3104throw new ArgumentException(); 3172throw new ArgumentException(); 3213throw new ArgumentException(); 3304throw new ArgumentException(); 3342throw new ArgumentException(); 3416throw new ArgumentException(); 3527throw new ArgumentException(); 3574throw new ArgumentException(); 3626throw new ArgumentException(); 3677throw new ArgumentException(); 3716throw new ArgumentException(); 3781throw new ArgumentException(); 3842throw new ArgumentException(); 3852throw new ArgumentException(); 3873throw new ArgumentException(); 4044throw new ArgumentException(); 4247throw new ArgumentException(); 4275throw new ArgumentException(); 4308throw new ArgumentException(); 4388throw new ArgumentException(); 4425throw new ArgumentException(); 4491throw new ArgumentException(); 4554throw new ArgumentException(); 4605throw new ArgumentException(); 4636throw new ArgumentException(); 4763throw new ArgumentException(); 4771throw new ArgumentException(); 4865throw new ArgumentException(); 4947throw new ArgumentException(); 4961throw new ArgumentException(); 5013throw new ArgumentException(); 5058throw new ArgumentException(); 5071_ => throw new ArgumentException(), 5175throw new ArgumentException(); 5218throw new ArgumentException(); 5325throw new ArgumentException(); 5430throw new ArgumentException(); 5443throw new ArgumentException(); 5561throw new ArgumentException(); 5607throw new ArgumentException(); 5615throw new ArgumentException(); 5652throw new ArgumentException(); 5661throw new ArgumentException(); 5713throw new ArgumentException(); 5774throw new ArgumentException(); 5848throw new ArgumentException(); 5884throw new ArgumentException(); 5954throw new ArgumentException(); 6017throw new ArgumentException(); 6087throw new ArgumentException(); 6151throw new ArgumentException(); 6204throw new ArgumentException(); 6279throw new ArgumentException(); 6313throw new ArgumentException(); 6318throw new ArgumentException(); 6359throw new ArgumentException(); 6398throw new ArgumentException(); 6435throw new ArgumentException(); 6445throw new ArgumentException(); 6489throw new ArgumentException(); 6536throw new ArgumentException(); 6597throw new ArgumentException(); 6897throw new ArgumentException(); 6937throw new ArgumentException(); 6991throw new ArgumentException(); 7220throw new ArgumentException(); 7256throw new ArgumentException();
SOSDacImpl.IXCLRDataProcess.cs (13)
172throw new ArgumentException(); 485throw new ArgumentException(); 533throw new ArgumentException(); 569throw new ArgumentException(); 673throw new ArgumentException(); 721throw new ArgumentException(); 1014throw new ArgumentException(); 1394throw new ArgumentException(); 1454throw new ArgumentException(); 1460throw new ArgumentException(); 1508throw new ArgumentException(); 1528throw new ArgumentException(); 1880throw new ArgumentException();
Microsoft.Extensions.AI.Evaluation.Console.Tests (1)
ExceptionUtilitiesTests.cs (1)
77var exception = new AggregateException(new InvalidOperationException(), new ArgumentException());
Microsoft.Maui.Controls.Build.Tasks (3)
ExpandMarkupsVisitor.cs (2)
122 throw new ArgumentException(); 130 throw new ArgumentException();
NodeILExtensions.cs (1)
364 throw new ArgumentException();
Microsoft.Maui.Controls.Xaml (6)
ExpandMarkupsVisitor.cs (1)
127 throw new ArgumentException();
MarkupExpressionParser.cs (1)
239 throw new ArgumentException();
MarkupExtensions\AppThemeBindingExtension.cs (1)
58 var valueProvider = serviceProvider?.GetService<IProvideValueTarget>() ?? throw new ArgumentException();
MarkupExtensions\OnIdiomExtension.cs (1)
43 var valueProvider = serviceProvider?.GetService<IProvideValueTarget>() ?? throw new ArgumentException();
MarkupExtensions\OnPlatformExtension.cs (1)
55 var valueProvider = serviceProvider?.GetService<IProvideValueTarget>() ?? throw new ArgumentException();
XamlServiceProvider.cs (1)
155 throw new ArgumentException();
Microsoft.ML.AutoML (2)
SweepableEstimator\MultiModelPipeline.cs (1)
167throw new ArgumentException();
SweepableEstimator\SweepablePipeline.cs (1)
227throw new ArgumentException();
Microsoft.NET.HostModel (4)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.Reader.cs (4)
24throw new ArgumentException(); 32throw new ArgumentException(); 40throw new ArgumentException(); 43throw new ArgumentException();
Microsoft.Private.Windows.Core (5)
_generated\129\Windows.Win32.IDispatch.g.cs (1)
103 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\130\Windows.Win32.IDispatchEx.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\156\Windows.Win32.IPictureDisp.g.cs (1)
86 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\164\Windows.Win32.ITypeInfo.g.cs (1)
227 if (!rgszNames.IsEmpty && !pMemId.IsEmpty && rgszNames.Length != pMemId.Length) throw new ArgumentException();
_generated\252\Windows.Win32.System_Com_ITypeInfo_Extensions.g.cs (1)
95 if (!rgszNames.IsEmpty && !pMemId.IsEmpty && rgszNames.Length != pMemId.Length) throw new ArgumentException();
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\VBBinder.vb (1)
1969Throw New ArgumentException
Mono.Cecil (22)
Mono.Cecil.Cil\CodeWriter.cs (3)
203 throw new ArgumentException (); 273 throw new ArgumentException (); 543 throw new ArgumentException ();
Mono.Cecil.Cil\Symbols.cs (2)
1037 throw new ArgumentException (); 1110 throw new ArgumentException ();
Mono.Cecil.Metadata\Utilities.cs (2)
561 throw new ArgumentException (); 638 throw new ArgumentException ();
Mono.Cecil\AssemblyDefinition.cs (1)
149 throw new ArgumentException ();
Mono.Cecil\AssemblyReader.cs (6)
145 throw new ArgumentException (); 765 throw new ArgumentException (); 1655 throw new ArgumentException (); 1663 throw new ArgumentException (); 1676 throw new ArgumentException (); 3717 throw new ArgumentException ();
Mono.Cecil\AssemblyWriter.cs (1)
3107 throw new ArgumentException ();
Mono.Cecil\ModuleDefinition.cs (1)
802 throw new ArgumentException ();
Mono.Cecil\TypeDefinition.cs (1)
616 throw new ArgumentException ();
Mono.Cecil\TypeParser.cs (1)
465 throw new ArgumentException ();
Mono.Cecil\WindowsRuntimeProjections.cs (1)
944 throw new ArgumentException ();
Mono.Collections.Generic\Collection.cs (3)
81 throw new ArgumentException (); 278 throw new ArgumentException (); 313 throw new ArgumentException ();
Mono.Cecil.Mdb (3)
Mono.CompilerServices.SymbolWriter\MonoSymbolFile.cs (3)
439 throw new ArgumentException (); 475 throw new ArgumentException (); 546 throw new ArgumentException ();
Mono.Cecil.Rocks (4)
Mono.Cecil.Rocks\ILParser.cs (1)
60 throw new ArgumentException ();
Mono.Cecil.Rocks\TypeDefinitionRocks.cs (1)
60 throw new ArgumentException ();
Mono.Cecil.Rocks\TypeReferenceRocks.cs (2)
67 throw new ArgumentException (); 69 throw new ArgumentException ();
PresentationCore (4)
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (1)
450throw new ArgumentException();
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
300throw new ArgumentException ();
MS\Internal\WpfWebRequestHelper.cs (2)
219throw new ArgumentException(); 236throw new ArgumentException();
Roslyn.Diagnostics.Analyzers (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
348throw new ArgumentException();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
251throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (2)
60throw new ArgumentException(); 63throw new ArgumentException();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions_Accessibility.cs (1)
33throw new ArgumentException();
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\CSharpStructuredTriviaFormatEngine.cs (1)
22var root = trivia.GetStructure() ?? throw new ArgumentException();
ScenarioTests.Common.Tests (1)
ScenarioTestTypes.cs (1)
719throw new FaultException<ArgumentException>(new ArgumentException());
System.Collections.Immutable (1)
Validation\Requires.cs (1)
129throw new ArgumentException();
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\ExponentialHistogramAggregator.cs (1)
73throw new ArgumentException();
System.Diagnostics.Process (1)
System\Collections\Specialized\StringDictionaryWrapper.cs (1)
39throw new ArgumentException();
System.IO.Ports (5)
System\IO\Ports\SerialStream.Unix.cs (5)
284throw new ArgumentException(); 301throw new ArgumentException(); 319throw new ArgumentException(); 336throw new ArgumentException(); 623throw new ArgumentException();
System.Linq.Expressions (2)
System\Dynamic\Utils\ListArgumentProvider.cs (1)
100throw new ArgumentException();
System\Linq\Expressions\BlockExpression.cs (1)
773throw new ArgumentException();
System.Private.CoreLib (69)
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\NativeFormatReaderGen.cs (63)
109throw new ArgumentException(); 190throw new ArgumentException(); 270throw new ArgumentException(); 350throw new ArgumentException(); 430throw new ArgumentException(); 510throw new ArgumentException(); 590throw new ArgumentException(); 670throw new ArgumentException(); 750throw new ArgumentException(); 830throw new ArgumentException(); 914throw new ArgumentException(); 998throw new ArgumentException(); 1078throw new ArgumentException(); 1158throw new ArgumentException(); 1238throw new ArgumentException(); 1318throw new ArgumentException(); 1398throw new ArgumentException(); 1478throw new ArgumentException(); 1558throw new ArgumentException(); 1634throw new ArgumentException(); 1714throw new ArgumentException(); 1794throw new ArgumentException(); 1874throw new ArgumentException(); 1954throw new ArgumentException(); 2035throw new ArgumentException(); 2117throw new ArgumentException(); 2197throw new ArgumentException(); 2277throw new ArgumentException(); 2357throw new ArgumentException(); 2437throw new ArgumentException(); 2517throw new ArgumentException(); 2597throw new ArgumentException(); 2687throw new ArgumentException(); 2784throw new ArgumentException(); 2885throw new ArgumentException(); 2966throw new ArgumentException(); 3046throw new ArgumentException(); 3147throw new ArgumentException(); 3237throw new ArgumentException(); 3341throw new ArgumentException(); 3427throw new ArgumentException(); 3511throw new ArgumentException(); 3610throw new ArgumentException(); 3690throw new ArgumentException(); 3780throw new ArgumentException(); 3874throw new ArgumentException(); 3971throw new ArgumentException(); 4056throw new ArgumentException(); 4153throw new ArgumentException(); 4234throw new ArgumentException(); 4335throw new ArgumentException(); 4425throw new ArgumentException(); 4509throw new ArgumentException(); 4593throw new ArgumentException(); 4674throw new ArgumentException(); 4814throw new ArgumentException(); 4922throw new ArgumentException(); 5060throw new ArgumentException(); 5148throw new ArgumentException(); 5234throw new ArgumentException(); 5319throw new ArgumentException(); 5400throw new ArgumentException(); 5480throw new ArgumentException();
src\runtime\src\libraries\Common\src\System\Reflection\AssemblyNameFormatter.cs (1)
72throw new ArgumentException();
src\runtime\src\libraries\System.Private.CoreLib\src\Internal\Runtime\CompilerHelpers\ThrowHelpers.cs (1)
25throw new ArgumentException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
853throw new ArgumentException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
744return new System.ArgumentException();
System\Reflection\Runtime\PropertyInfos\RuntimePropertyInfo.cs (2)
130throw new ArgumentException(); 192throw new ArgumentException();
System.Private.Reflection.Execution (5)
Internal\Reflection\Execution\FieldAccessors\InstanceFieldAccessor.cs (5)
28throw new ArgumentException(); 40throw new ArgumentException(); 59throw new ArgumentException(); 73throw new ArgumentException(); 85throw new ArgumentException();
System.Private.TypeLoader (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\TypeDesc.cs (1)
126throw new ArgumentException();
System.Private.Windows.Core (5)
_generated\130\Windows.Win32.IDispatch.g.cs (1)
103 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\131\Windows.Win32.IDispatchEx.g.cs (1)
86 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\157\Windows.Win32.IPictureDisp.g.cs (1)
87 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\165\Windows.Win32.ITypeInfo.g.cs (1)
368 if (!rgszNames.IsEmpty && !pMemId.IsEmpty && rgszNames.Length != pMemId.Length) throw new ArgumentException();
_generated\253\Windows.Win32.System_Com_ITypeInfo_Extensions.g.cs (1)
95 if (!rgszNames.IsEmpty && !pMemId.IsEmpty && rgszNames.Length != pMemId.Length) throw new ArgumentException();
System.Private.Windows.GdiPlus (1)
_generated\60\Windows.Win32.PInvokeGdiPlus.gdiplus.dll.g.cs (1)
6497 if (!points.IsEmpty && !types.IsEmpty && points.Length != types.Length) throw new ArgumentException();
System.Reflection.Context (1)
System\Reflection\Context\Virtual\VirtualPropertyInfo.PropertyGetter.cs (1)
35throw new ArgumentException();
System.Reflection.Metadata (1)
src\runtime\src\libraries\Common\src\System\Reflection\AssemblyNameFormatter.cs (1)
72throw new ArgumentException();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Helpers.cs (1)
346throw new ArgumentException();
System.Security.AccessControl (2)
System\Security\AccessControl\Win32.cs (2)
129throw new ArgumentException(); 274throw new ArgumentException();
System.Security.Cryptography (4)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PemKeyHelpers.Factory.cs (2)
81throw new ArgumentException(); 146throw new ArgumentException();
System\Security\Cryptography\PemKeyHelpers.cs (2)
147throw new ArgumentException(); 233throw new ArgumentException();
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\AttributeSortOrder.cs (1)
19throw new ArgumentException();
System\Security\Cryptography\Xml\NamespaceSortOrder.cs (1)
18throw new ArgumentException();
System.Speech (1)
Internal\SrgsCompiler\SRGSCompiler.cs (1)
167throw new ArgumentException();
System.Windows.Forms.Primitives (53)
_generated\107\Windows.Win32.IAccessible.g.cs (1)
93 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\137\Windows.Win32.IFontDisp.g.cs (1)
86 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\142\Windows.Win32.IHTMLCurrentStyle.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\143\Windows.Win32.IHTMLDataTransfer.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\144\Windows.Win32.IHTMLDocument.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\145\Windows.Win32.IHTMLDocument2.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\146\Windows.Win32.IHTMLDocument3.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\147\Windows.Win32.IHTMLDocument4.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\148\Windows.Win32.IHTMLDOMNode.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\149\Windows.Win32.IHTMLElement.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\150\Windows.Win32.IHTMLElement2.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\151\Windows.Win32.IHTMLElement3.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\152\Windows.Win32.IHTMLElementCollection.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\153\Windows.Win32.IHTMLEventObj.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\154\Windows.Win32.IHTMLFiltersCollection.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\155\Windows.Win32.IHTMLFormElement.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\156\Windows.Win32.IHTMLFrameBase.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\157\Windows.Win32.IHTMLFramesCollection2.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\158\Windows.Win32.IHTMLImageElementFactory.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\159\Windows.Win32.IHTMLImgElement.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\160\Windows.Win32.IHTMLLocation.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\161\Windows.Win32.IHTMLMimeTypesCollection.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\162\Windows.Win32.IHTMLOpsProfile.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\163\Windows.Win32.IHTMLOptionElement.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\164\Windows.Win32.IHTMLOptionElementFactory.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\165\Windows.Win32.IHTMLPluginsCollection.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\166\Windows.Win32.IHTMLRect.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\167\Windows.Win32.IHTMLRectCollection.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\168\Windows.Win32.IHTMLRenderStyle.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\169\Windows.Win32.IHTMLRuleStyle.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\170\Windows.Win32.IHTMLScreen.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\171\Windows.Win32.IHTMLSelectionObject.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\172\Windows.Win32.IHTMLStyle.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\173\Windows.Win32.IHTMLStyleSheet.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\174\Windows.Win32.IHTMLStyleSheetRule.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\175\Windows.Win32.IHTMLStyleSheetRulesCollection.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\176\Windows.Win32.IHTMLStyleSheetsCollection.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\177\Windows.Win32.IHTMLWindow2.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\178\Windows.Win32.IHTMLWindow3.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\179\Windows.Win32.IHTMLWindow4.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\216\Windows.Win32.IOmHistory.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\217\Windows.Win32.IOmNavigator.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\252\Windows.Win32.ITextDocument.g.cs (1)
86 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\253\Windows.Win32.ITextFont.g.cs (1)
86 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\254\Windows.Win32.ITextPara.g.cs (1)
86 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\257\Windows.Win32.ITextRange.g.cs (1)
86 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\259\Windows.Win32.ITextSelection.g.cs (1)
86 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\260\Windows.Win32.ITextStoryRanges.g.cs (1)
86 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\280\Windows.Win32.IWebBrowser.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\281\Windows.Win32.IWebBrowser2.g.cs (1)
97 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\282\Windows.Win32.IWebBrowserApp.g.cs (1)
85 if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException();
_generated\426\Windows.Win32.PInvoke.USER32.dll.g.cs (2)
1636 if (lpKeyState.Length < 256) throw new ArgumentException(); 3449 if (lpKeyState.Length < 256) throw new ArgumentException();