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