8 implementations of AsTypeDefinition
Microsoft.CodeAnalysis (8)
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (1)
75public ITypeDefinition? AsTypeDefinition(EmitContext context)
Emit\EditAndContinue\DeletedSourceTypeDefinition.cs (1)
97public ITypeDefinition? AsTypeDefinition(EmitContext context)
Emit\ErrorType.cs (1)
163Cci.ITypeDefinition Cci.ITypeReference.AsTypeDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedType.cs (1)
658Cci.ITypeDefinition Cci.ITypeReference.AsTypeDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
198Cci.ITypeDefinition Cci.ITypeReference.AsTypeDefinition(EmitContext context)
PEWriter\InheritedTypeParameter.cs (1)
187public ITypeDefinition? AsTypeDefinition(EmitContext context)
PEWriter\ModifiedTypeReference.cs (1)
138ITypeDefinition? ITypeReference.AsTypeDefinition(EmitContext context)
PEWriter\RootModuleType.cs (1)
317ITypeDefinition ITypeReference.AsTypeDefinition(EmitContext context)
3 references to AsTypeDefinition
Microsoft.CodeAnalysis (3)
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (1)
77return OldDefinition.AsTypeDefinition(context);
PEWriter\MetadataWriter.cs (2)
927ITypeDefinition parentTypeDef = memberRef.GetContainingType(Context).AsTypeDefinition(Context); 1663var typeDefinition = typeReference.AsTypeDefinition(this.Context);