35 references to IsNil
ILCompiler.ReadyToRun (2)
IBC\IBCProfileParser.cs (2)
341if (enclosingType.IsNil && _logger.IsVerbose) 345if (enclosingType.IsNil)
ILCompiler.TypeSystem (2)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaModule.cs (2)
324while (!entry.IsNil) 399if (!typeDefHandle.IsNil)
Microsoft.CodeAnalysis (11)
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
358if (declaringType.IsNil)
Emit\EditAndContinue\EmitBaseline.cs (2)
508Debug.Assert(!parentType.IsNil); 523Debug.Assert(!parentType.IsNil);
MetadataReader\MetadataDecoder.cs (4)
645if (containerTypeDef.IsNil) 1993Debug.Assert(!typeDef.IsNil); 2187if (typeDef.IsNil) 2206if (typeDef.IsNil)
MetadataReader\PEModule.cs (3)
727if (fLeft.IsNil ^ fRight.IsNil) 729result = fLeft.IsNil ? +1 : -1;
PEWriter\MetadataWriter.cs (1)
932if (!parentTypeDefHandle.IsNil)
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
318Debug.Assert(!handle.IsNil);
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\SymbolSourceDocumentFinder.cs (1)
139if (!containingType.IsNil)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
116Debug.Assert(Not handle.IsNil)
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
786if (declaringType.IsNil)
Microsoft.Diagnostics.DataContractReader.Legacy (5)
ClrDataMethodDefinition.cs (1)
81if (typeDefHandle.IsNil)
MetaDataImportImpl.cs (3)
778*ptdEnclosingClass = declaringType.IsNil ? 0 : (uint)MetadataTokens.GetToken(declaringType); 780hr = declaringType.IsNil ? CldbHResults.CLDB_E_RECORD_NOTFOUND : HResults.S_OK; 1079if (declaringType.IsNil || (uint)MetadataTokens.GetToken(declaringType) != tkEnclosingClass)
TypeNameBuilder.cs (1)
544for (TypeDefinitionHandle enclosingType = typeDef.GetDeclaringType(); !enclosingType.IsNil; enclosingType = reader.GetTypeDefinition(enclosingType).GetDeclaringType())
Microsoft.NET.HostModel (2)
ComHost\ClsidMap.cs (2)
112if (!type.GetDeclaringType().IsNil) 167if (!definition.GetDeclaringType().IsNil)
System.Reflection.Metadata (7)
System\Reflection\Metadata\MetadataReader.cs (1)
1448Debug.Assert(!enclosingClass.IsNil);
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (6)
473Debug.Assert(!containingType.IsNil); 593Debug.Assert(!containingType.IsNil); 713Debug.Assert(!containingType.IsNil); 833Debug.Assert(!containingType.IsNil); 944if (containingType.IsNil) 1160Debug.Assert(!implementingType.IsNil);
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (1)
30Debug.Assert(!handle.IsNil);
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (1)
22Debug.Assert(!handle.IsNil);