Base:
property
ContainingType
Microsoft.CodeAnalysis.CSharp.Symbol.ContainingType
13 references to ContainingType
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Statements.cs (2)
3879
NamedTypeSymbol containingType = constructor.
ContainingType
;
3902
BoundExpression receiver = new BoundThisReference(syntax, constructor.
ContainingType
) { WasCompilerGenerated = true };
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (5)
28
ContainingType
),
36
public override Accessibility DeclaredAccessibility =>
ContainingType
.IsSealed ? Accessibility.Private : Accessibility.Protected;
51
foreach (var field in
ContainingType
.GetFieldsToEmit())
138
=>
ContainingType
.HasAnyRequiredMembers ||
ContainingType
.HasRequiredMembersError;
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (6)
42
get { return
ContainingType
.IsAbstract ? Accessibility.Protected : Accessibility.Public; }
146
get { return
ContainingType
.Locations; }
198
NamedTypeSymbol containingType = this.
ContainingType
;
270
var containingType = (SourceMemberContainerTypeSymbol)this.
ContainingType
;
282
(
ContainingType
as SourceMemberContainerTypeSymbol)?.IsNullableEnabledForConstructorsAndInitializers(useStatic: false) ?? false;
290
if (
ContainingType
.BaseTypeNoUseSiteDiagnostics is MissingMetadataTypeSymbol)