9 implementations of AsNamespaceTypeDefinition
Microsoft.CodeAnalysis (9)
CodeGen\PrivateImplementationDetails.cs (1)
436public override Cci.INamespaceTypeDefinition AsNamespaceTypeDefinition(EmitContext context) => this;
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (1)
65public INamespaceTypeDefinition? AsNamespaceTypeDefinition(EmitContext context)
Emit\EditAndContinue\DeletedSourceTypeDefinition.cs (1)
87public INamespaceTypeDefinition? AsNamespaceTypeDefinition(EmitContext context)
Emit\ErrorType.cs (1)
129Cci.INamespaceTypeDefinition Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedType.cs (1)
624Cci.INamespaceTypeDefinition Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
173Cci.INamespaceTypeDefinition Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context)
PEWriter\InheritedTypeParameter.cs (1)
137public INamespaceTypeDefinition? AsNamespaceTypeDefinition(EmitContext context)
PEWriter\ModifiedTypeReference.cs (1)
104INamespaceTypeDefinition? ITypeReference.AsNamespaceTypeDefinition(EmitContext context)
PEWriter\RootModuleType.cs (1)
283INamespaceTypeDefinition ITypeReference.AsNamespaceTypeDefinition(EmitContext context)
6 references to AsNamespaceTypeDefinition
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (1)
67return OldDefinition.AsNamespaceTypeDefinition(context);
Emit\EditAndContinue\DeletedSourceTypeDefinition.cs (1)
89return OldDefinition.AsNamespaceTypeDefinition(context);
Emit\EditAndContinue\SymbolChanges.cs (1)
334var namespaceTypeDef = (symbol.GetCciAdapter() as ITypeDefinition)?.AsNamespaceTypeDefinition(context);
NativePdbWriter\SymWriterMetadataProvider.cs (1)
51if ((namespaceTypeDef = t.AsNamespaceTypeDefinition(_writer.Context)) != null)
PEWriter\MetadataWriter.cs (2)
1569INamespaceTypeDefinition namespaceTypeDef = typeDef.AsNamespaceTypeDefinition(context); 2773INamespaceTypeDefinition namespaceType = typeDef.AsNamespaceTypeDefinition(Context);