Base:
property
ContainingSymbol
Microsoft.CodeAnalysis.CSharp.Symbol.ContainingSymbol
7 references to ContainingSymbol
Microsoft.CodeAnalysis.CSharp (7)
Symbols\SubstitutedTypeParameterSymbol.cs (2)
56
ContainingSymbol
.OriginalDefinition != _underlyingTypeParameter.ContainingSymbol.OriginalDefinition ? this :
185
internal override CSharpCompilation DeclaringCompilation =>
ContainingSymbol
.DeclaringCompilation;
Symbols\Synthesized\SynthesizedSubstitutedTypeParameterSymbol.cs (5)
22
Debug.Assert(this.TypeParameterKind == (
ContainingSymbol
is MethodSymbol ? TypeParameterKind.Method :
23
(
ContainingSymbol
is NamedTypeSymbol ? TypeParameterKind.Type :
25
$"Container is {
ContainingSymbol
?.Kind}, TypeParameterKind is {this.TypeParameterKind}");
33
public override TypeParameterKind TypeParameterKind =>
ContainingSymbol
is MethodSymbol ? TypeParameterKind.Method : TypeParameterKind.Type;
47
if (
ContainingSymbol
is SynthesizedMethodBaseSymbol { InheritsBaseMethodAttributes: true })