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