Base:
property
ContainingType
Microsoft.CodeAnalysis.CSharp.Symbol.ContainingType
18 references to ContainingType
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Statements.cs (2)
3976
NamedTypeSymbol containingType = constructor.
ContainingType
;
3999
BoundExpression receiver = new BoundThisReference(syntax, constructor.
ContainingType
) { WasCompilerGenerated = true };
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListConstructor.cs (2)
29
var baseConstructor =
ContainingType
.BaseTypeNoUseSiteDiagnostics.InstanceConstructors.Single();
30
var field =
ContainingType
.GetFieldsToEmit().Single();
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorConstructor.cs (2)
29
var baseConstructor =
ContainingType
.BaseTypeNoUseSiteDiagnostics.InstanceConstructors.Single();
30
var field =
ContainingType
.GetFieldsToEmit().First();
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (5)
28
ContainingType
),
36
public override Accessibility DeclaredAccessibility =>
ContainingType
.IsSealed ? Accessibility.Private : Accessibility.Protected;
50
foreach (var field in
ContainingType
.GetFieldsToEmit())
153
=>
ContainingType
.HasAnyRequiredMembers ||
ContainingType
.HasRequiredMembersError;
Symbols\Synthesized\SynthesizedHotReloadExceptionConstructorSymbol.cs (1)
38
var containingType = (SynthesizedHotReloadExceptionSymbol)
ContainingType
;
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)