10 implementations of ContainingTypeDefinition
Microsoft.CodeAnalysis (10)
CodeGen\PrivateImplementationDetails.cs (2)
602
public Cci.ITypeDefinition
ContainingTypeDefinition
=> _containingType;
663
public Cci.ITypeDefinition
ContainingTypeDefinition
=> _containingType;
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
101
public Cci.ITypeDefinition
ContainingTypeDefinition
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
77
public ITypeDefinition
ContainingTypeDefinition
=> throw ExceptionUtilities.Unreachable();
Emit\NoPia\CommonEmbeddedEvent.cs (1)
156
Cci.ITypeDefinition Cci.ITypeDefinitionMember.
ContainingTypeDefinition
Emit\NoPia\CommonEmbeddedField.cs (1)
160
Cci.ITypeDefinition Cci.ITypeDefinitionMember.
ContainingTypeDefinition
Emit\NoPia\CommonEmbeddedMethod.cs (1)
238
Cci.ITypeDefinition Cci.ITypeDefinitionMember.
ContainingTypeDefinition
=> ContainingType;
Emit\NoPia\CommonEmbeddedProperty.cs (1)
184
Cci.ITypeDefinition Cci.ITypeDefinitionMember.
ContainingTypeDefinition
Emit\NoPia\VtblGap.cs (1)
148
Cci.ITypeDefinition Cci.ITypeDefinitionMember.
ContainingTypeDefinition
PEWriter\RootModuleStaticConstructor.cs (1)
29
public ITypeDefinition
ContainingTypeDefinition
{ get; }
13 references to ContainingTypeDefinition
Microsoft.CodeAnalysis (13)
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
1144
int typeRowId = MetadataTokens.GetRowNumber(GetTypeDefinitionHandle(member.
ContainingTypeDefinition
));
1169
entity: GetTypeDefinitionHandle(member.
ContainingTypeDefinition
),
Emit\EditAndContinue\SymbolChanges.cs (1)
310
!IsReplacedDef(item.
ContainingTypeDefinition
, checkEnclosingTypes: true) &&
PEWriter\FullMetadataWriter.cs (4)
338
if (eventDef.
ContainingTypeDefinition
== lastParent)
343
lastParent = eventDef.
ContainingTypeDefinition
;
356
if (propertyDef.
ContainingTypeDefinition
== lastParent)
361
lastParent = propertyDef.
ContainingTypeDefinition
;
PEWriter\Members.cs (2)
999
return !methodDef.IsAbstract && !methodDef.IsExternal && !methodDef.
ContainingTypeDefinition
.IsComObject;
1041
foreach (var methodImplementation in method.
ContainingTypeDefinition
.GetExplicitImplementationOverrides(context))
PEWriter\MetadataWriter.cs (3)
557
result = this.GetConsolidatedTypeParameters(nestedTypeDef.
ContainingTypeDefinition
, owner);
2282
if (fieldDef.
ContainingTypeDefinition
.Layout != LayoutKind.Explicit || fieldDef.IsStatic)
2803
enclosingType: GetTypeDefinitionHandle(nestedTypeDef.
ContainingTypeDefinition
));
PEWriter\Types.cs (1)
370
get { return ImplementingMethod.
ContainingTypeDefinition
; }