24 references to ArgumentNullException
Microsoft.Build.Engine.UnitTests (2)
BackEnd\TaskHostTaskComplete_Tests.cs (2)
67new OutOfProcTaskHostTaskResult(TaskCompleteType.CrashedDuringExecution, new ArgumentNullException()), 102AssertInvalidConstructorThrows(typeof(InternalErrorException), TaskCompleteType.Success, new ArgumentNullException(), "ExceptionlessErrorMessage", null, null, null);
Microsoft.CodeAnalysis (1)
Syntax\SyntaxListBuilder.cs (1)
34throw new ArgumentNullException();
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ReducedExtensionMethodSymbol.cs (1)
261throw new System.ArgumentNullException();
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (2)
Debugger\Engine\DkmEvaluationEnumAsyncResult.cs (1)
23throw new ArgumentNullException();
Debugger\Engine\DkmGetChildrenAsyncResult.cs (1)
23throw new ArgumentNullException();
Microsoft.DotNet.XUnitAssert.Tests (11)
ExceptionAssertsTests.cs (11)
67 var thrown = new ArgumentNullException(); 150 var thrown = new ArgumentNullException(); 223 var thrown = new ArgumentNullException(); 303 var thrown = new ArgumentNullException(); 392 var thrown = new ArgumentNullException(); 478 var thrown = new ArgumentNullException(); 550 void testCode() => throw new ArgumentNullException(); 620 object testCode() => throw new ArgumentNullException(); 680 Task testCode() => throw new ArgumentNullException(); 739 var thrown = new ArgumentNullException(); 825 var thrown = new ArgumentNullException();
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Logging\HttpClientLoggerTest.cs (2)
749var exception = new ArgumentNullException(); 792var enrichmentException = new ArgumentNullException();
Microsoft.Maui.Controls.Xaml (2)
XamlServiceProvider.cs (2)
206 this.namespaceResolver = namespaceResolver ?? throw new ArgumentNullException(); 207 this.getTypeFromXmlName = getTypeFromXmlName ?? throw new ArgumentNullException();
System.Private.CoreLib (1)
src\System\RuntimeType.CoreCLR.cs (1)
3602Type instantiationElem = instantiation[i] ?? throw new ArgumentNullException();
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Methods\RoDefinitionMethod.cs (1)
115throw new ArgumentNullException();
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
108throw new ArgumentNullException();