13 references to NullReferenceException
ErrorPageMiddlewareWebSite (1)
AggregateExceptionController.cs (1)
22
throw new
NullReferenceException
("Foo cannot be null");
Microsoft.Build.Tasks.Core (1)
SystemState.cs (1)
263
throw new
NullReferenceException
(nameof(instanceLocalFileStateCache));
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (1)
758
throw outOfMemory ? new OutOfMemoryException() : new
NullReferenceException
("NullRef!");
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\FunctionCallContentTests..cs (1)
80
var ex = new InvalidOperationException("hello", new
NullReferenceException
("bye"));
Microsoft.Maui (1)
SemanticExtensions.cs (1)
27
throw new
NullReferenceException
("Can't access view from a null handler");
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\ExceptionUtils.vb (1)
280
Return New
NullReferenceException
(Description)
PresentationCore (1)
System\Windows\Media\VisualTreeHelper.cs (1)
106
throw new
NullReferenceException
("dpiInfo cannot be null");
PresentationFramework (1)
MS\Internal\IO\Packaging\XpsFilter.cs (1)
111
throw new
NullReferenceException
(SR.FilterNullGetTextBufferPointer);
PresentationUI (1)
MS\Internal\Documents\RightsManagementProvider.cs (1)
749
throw new
NullReferenceException
("template");
ReachFramework (2)
Packaging\XpsDocument.cs (2)
473
throw new
NullReferenceException
("signature.PackageSignature");
477
throw new
NullReferenceException
("signature.PackageSignature.SignaturePart");
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Reflection\InvokerEmitUtil.cs (1)
318
throw new
NullReferenceException
(SR.NullReference_InvokeNullRefReturned);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
416
throw new
NullReferenceException
(SR.Arg_NullArgumentNullRef);