1 implementation of INestedTypeDefinition
Microsoft.CodeAnalysis (1)
CodeGen\PrivateImplementationDetails.cs (1)
565internal sealed class ExplicitSizeStruct : DefaultTypeDef, Cci.INestedTypeDefinition
39 references to INestedTypeDefinition
Microsoft.CodeAnalysis (39)
CodeGen\PrivateImplementationDetails.cs (3)
374foreach (var nestedType in type.GetNestedTypes(context)) 411public override IEnumerable<Cci.INestedTypeDefinition> GetNestedTypes(EmitContext context) 610public override Cci.INestedTypeDefinition AsNestedTypeDefinition(EmitContext context) => this;
Emit\CommonPEModuleBuilder.cs (10)
799private ConcurrentQueue<Cci.INestedTypeDefinition> NestedTypes; 806internal IEnumerable<Cci.INestedTypeDefinition> OrderedNestedTypes 818internal void AddNestedType(Cci.INestedTypeDefinition nestedType) 822Interlocked.CompareExchange(ref NestedTypes, new ConcurrentQueue<Cci.INestedTypeDefinition>(), null); 858foreach (var type in OrderedNestedTypes) 873internal abstract IEnumerable<Cci.INestedTypeDefinition> GetSynthesizedNestedTypes(TNamedTypeSymbol container); 878public IEnumerable<Cci.INestedTypeDefinition> GetSynthesizedTypes(TNamedTypeSymbol container) 880IEnumerable<Cci.INestedTypeDefinition> declareTypes = GetSynthesizedNestedTypes(container); 881IEnumerable<Cci.INestedTypeDefinition> compileEmitTypes = null; 946public void AddSynthesizedDefinition(TNamedTypeSymbol container, Cci.INestedTypeDefinition nestedType)
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (1)
70public INestedTypeDefinition? AsNestedTypeDefinition(EmitContext context)
Emit\EditAndContinue\DeletedSourceTypeDefinition.cs (2)
92public INestedTypeDefinition? AsNestedTypeDefinition(EmitContext context) 122public IEnumerable<INestedTypeDefinition> GetNestedTypes(EmitContext context)
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
515foreach (var nestedType in typeDef.GetNestedTypes(context)) 814Debug.Assert(def is INestedTypeDefinition or IPropertyDefinition or IEventDefinition); 1887public override void Visit(INestedTypeDefinition nestedTypeDefinition)
Emit\ErrorType.cs (1)
142Cci.INestedTypeDefinition Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedType.cs (3)
486IEnumerable<Cci.INestedTypeDefinition> Cci.ITypeDefinition.GetNestedTypes(EmitContext context) 488return SpecializedCollections.EmptyEnumerable<Cci.INestedTypeDefinition>(); 637Cci.INestedTypeDefinition Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
183Cci.INestedTypeDefinition Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context)
PEWriter\InheritedTypeParameter.cs (2)
150public INestedTypeDefinition? AsNestedTypeDefinition(EmitContext context) 152return this as INestedTypeDefinition;
PEWriter\MetadataVisitor.cs (2)
399public virtual void Visit(INestedTypeDefinition nestedTypeDefinition) 559ITypeDefinition? nestedType = typeMember as INestedTypeDefinition;
PEWriter\MetadataWriter.cs (5)
524foreach (var nestedType in typeDef.GetNestedTypes(Context)) 537INestedTypeDefinition nestedTypeDef = typeDef.AsNestedTypeDefinition(Context); 554INestedTypeDefinition nestedTypeDef = typeDef.AsNestedTypeDefinition(Context); 1541INestedTypeDefinition nestedTypeDef = typeDef.AsNestedTypeDefinition(context); 2795INestedTypeDefinition nestedTypeDef = typeDef.AsNestedTypeDefinition(Context);
PEWriter\ModifiedTypeReference.cs (1)
117INestedTypeDefinition? ITypeReference.AsNestedTypeDefinition(EmitContext context)
PEWriter\RootModuleType.cs (3)
168public IEnumerable<INestedTypeDefinition> GetNestedTypes(EmitContext context) 170return SpecializedCollections.EmptyEnumerable<INestedTypeDefinition>(); 296INestedTypeDefinition? ITypeReference.AsNestedTypeDefinition(EmitContext context)
PEWriter\Types.cs (2)
580IEnumerable<INestedTypeDefinition> GetNestedTypes(EmitContext context); 641INestedTypeDefinition? AsNestedTypeDefinition(EmitContext context);