74 references to NullReferenceException
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (2)
1207throw new NullReferenceException(); 1217throw new NullReferenceException();
GenerateDocumentationAndConfigFiles (2)
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
1041throw new NullReferenceException(); 1046throw new NullReferenceException();
Microsoft.Build (2)
src\9f0d3f3da306d8cf\ImmutableArrayExtensions.cs (2)
1273throw new NullReferenceException(); 1278throw new NullReferenceException();
Microsoft.CodeAnalysis (3)
CommandLine\CommandLineResource.cs (1)
68var fullPath = FullPath ?? throw new NullReferenceException();
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
1041throw new NullReferenceException(); 1046throw new NullReferenceException();
Microsoft.CodeAnalysis.Analyzers (2)
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
1041throw new NullReferenceException(); 1046throw new NullReferenceException();
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
1041throw new NullReferenceException(); 1046throw new NullReferenceException();
Microsoft.CodeAnalysis.CodeStyle (2)
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
1041throw new NullReferenceException(); 1046throw new NullReferenceException();
Microsoft.CodeAnalysis.Extensions.Package (2)
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
1041throw new NullReferenceException(); 1046throw new NullReferenceException();
Microsoft.CodeAnalysis.NetAnalyzers (3)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Lightup\LightupHelpers.cs (3)
52throw new NullReferenceException(); 106throw new NullReferenceException(); 152throw new NullReferenceException();
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
1041throw new NullReferenceException(); 1046throw new NullReferenceException();
Microsoft.CodeAnalysis.Workspaces (2)
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
1041throw new NullReferenceException(); 1046throw new NullReferenceException();
Microsoft.Diagnostics.DataContractReader.Legacy (27)
ClrDataExceptionState.cs (1)
342throw new NullReferenceException();
ClrDataMethodDefinition.cs (1)
735throw new NullReferenceException();
ClrDataModule.cs (1)
398throw new NullReferenceException();
ClrDataTypeDefinition.cs (1)
234throw new NullReferenceException();
Dbi\DacDbiImpl.cs (1)
4894throw new NullReferenceException();
Marshalling\DacComNullableByRef.cs (1)
41throw new NullReferenceException();
SOSDacImpl.cs (17)
1703throw new NullReferenceException(); 1817throw new NullReferenceException(); 3927throw new NullReferenceException(); 4101throw new NullReferenceException(); 4390throw new NullReferenceException(); 4885throw new NullReferenceException(); 4889throw new NullReferenceException(); 5065throw new NullReferenceException(); 5136throw new NullReferenceException(); // HResults.E_POINTER; 6895throw new NullReferenceException(); 6935throw new NullReferenceException(); 6993throw new NullReferenceException(); 7120throw new NullReferenceException(); 7122throw new NullReferenceException(); 7193throw new NullReferenceException(); 7312throw new NullReferenceException(); 7378throw new NullReferenceException();
SOSDacImpl.IXCLRDataProcess.cs (4)
481throw new NullReferenceException(); 670throw new NullReferenceException(); 757throw new NullReferenceException(); 1701throw new NullReferenceException();
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ActivatorUtilities.cs (1)
1159throw new NullReferenceException();
Microsoft.VisualBasic.Core (4)
Microsoft\VisualBasic\CompilerServices\VB6BinaryFile.vb (1)
196Dim JustNeedTheMessage As New NullReferenceException ' We don't have access to the localized resources for this string.
Microsoft\VisualBasic\CompilerServices\VB6File.vb (3)
1359Throw New NullReferenceException 1664Throw New NullReferenceException 2713Dim JustNeedTheMessage As New NullReferenceException ' We don't have access to the localized resources for this string.
Mono.Cecil.Mdb (1)
Mono.CompilerServices.SymbolWriter\MonoSymbolWriter.cs (1)
156 throw new NullReferenceException ();
PresentationCore (2)
System\Windows\Media\ColorContext.cs (1)
215throw new NullReferenceException();
System\Windows\Media\ImageSourceConverter.cs (1)
146throw new NullReferenceException();
PresentationFramework (1)
System\Windows\Controls\Primitives\Popup.cs (1)
1862Exception nre = new NullReferenceException();
Roslyn.Diagnostics.Analyzers (2)
src\roslyn\src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
1041throw new NullReferenceException(); 1046throw new NullReferenceException();
System.Data.OleDb (1)
OleDbConnectionInternal.cs (1)
423throw new NullReferenceException();
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\ldap\LdapConnection.Linux.cs (1)
20throw new NullReferenceException();
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\TypeOperations.cs (1)
349throw new NullReferenceException();
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\Internal\Runtime\CompilerHelpers\ThrowHelpers.cs (1)
18throw new NullReferenceException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
827return new System.NullReferenceException();
System\Delegate.cs (2)
144throw new NullReferenceException(); 173throw new NullReferenceException();
System\Reflection\Runtime\General\Assignability.cs (1)
23throw new NullReferenceException();
System\RuntimeExceptionHelpers.cs (1)
96return new NullReferenceException();
System\TypedReference.cs (1)
42throw new NullReferenceException(); // For compatibility;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Assignability.cs (1)
14throw new NullReferenceException();
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (1)
28throw new NullReferenceException(); //Desktop compat: this is the wrong exception to throw but it is the compatible one.