Base:
property
ContainingType
Microsoft.CodeAnalysis.CSharp.Symbol.ContainingType
18 references to ContainingType
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Statements.cs (2)
3976NamedTypeSymbol containingType = constructor.ContainingType; 3999BoundExpression receiver = new BoundThisReference(syntax, constructor.ContainingType) { WasCompilerGenerated = true };
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListConstructor.cs (2)
29var baseConstructor = ContainingType.BaseTypeNoUseSiteDiagnostics.InstanceConstructors.Single(); 30var field = ContainingType.GetFieldsToEmit().Single();
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorConstructor.cs (2)
29var baseConstructor = ContainingType.BaseTypeNoUseSiteDiagnostics.InstanceConstructors.Single(); 30var field = ContainingType.GetFieldsToEmit().First();
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (5)
28ContainingType), 36public override Accessibility DeclaredAccessibility => ContainingType.IsSealed ? Accessibility.Private : Accessibility.Protected; 50foreach (var field in ContainingType.GetFieldsToEmit()) 153=> ContainingType.HasAnyRequiredMembers || ContainingType.HasRequiredMembersError;
Symbols\Synthesized\SynthesizedHotReloadExceptionConstructorSymbol.cs (1)
38var containingType = (SynthesizedHotReloadExceptionSymbol)ContainingType;
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (6)
42get { return ContainingType.IsAbstract ? Accessibility.Protected : Accessibility.Public; } 146get { return ContainingType.Locations; } 198NamedTypeSymbol containingType = this.ContainingType; 270var containingType = (SourceMemberContainerTypeSymbol)this.ContainingType; 282(ContainingType as SourceMemberContainerTypeSymbol)?.IsNullableEnabledForConstructorsAndInitializers(useStatic: false) ?? false; 290if (ContainingType.BaseTypeNoUseSiteDiagnostics is MissingMetadataTypeSymbol)