21 references to NullReferenceException
Microsoft.Build.Tasks.Core (1)
SystemState.cs (1)
268throw new NullReferenceException(nameof(instanceLocalFileStateCache));
Microsoft.Diagnostics.DataContractReader.Legacy (10)
ClrDataMethodDefinition.cs (1)
663throw new NullReferenceException("The output buffer is null.");
ClrDataMethodInstance.cs (1)
727throw new NullReferenceException("The output buffer is null.");
ClrDataTask.cs (1)
195throw new NullReferenceException("The output buffer is null.");
ClrDataValue.cs (1)
323throw new NullReferenceException("The output buffer is null.");
Dbi\DacDbiImpl.cs (6)
4828throw new NullReferenceException("One or more parameters are null"); 5239throw new NullReferenceException(nameof(pHandle)); 5303throw new NullReferenceException(nameof(pFetched)); 5456throw new NullReferenceException(nameof(pceltFetched)); 5608throw new NullReferenceException(nameof(pLayout)); 5666throw new NullReferenceException(nameof(pLayout));
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\FunctionCallContentTests.cs (1)
163var 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)
280Return New NullReferenceException(Description)
PresentationCore (1)
System\Windows\Media\VisualTreeHelper.cs (1)
106throw new NullReferenceException("dpiInfo cannot be null");
PresentationFramework (1)
MS\Internal\IO\Packaging\XpsFilter.cs (1)
111throw new NullReferenceException(SR.FilterNullGetTextBufferPointer);
PresentationUI (1)
MS\Internal\Documents\RightsManagementProvider.cs (1)
749throw new NullReferenceException("template");
ReachFramework (2)
Packaging\XpsDocument.cs (2)
473throw new NullReferenceException("signature.PackageSignature"); 477throw new NullReferenceException("signature.PackageSignature.SignaturePart");
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
404throw new NullReferenceException(SR.Arg_NullArgumentNullRef);
System\Reflection\DynamicInvokeInfo.cs (1)
846Exception exception = new NullReferenceException(SR.NullReference_InvokeNullRefReturned);