4 references to ContainingSymbol
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (4)
Symbols\SimpleTypeParameterSymbol.vb (4)
25
Debug.Assert(Me.TypeParameterKind = If(TypeOf Me.
ContainingSymbol
Is MethodSymbol, TypeParameterKind.Method,
26
If(TypeOf Me.
ContainingSymbol
Is NamedTypeSymbol, TypeParameterKind.Type,
28
$"Container is {Me.
ContainingSymbol
?.Kind}, TypeParameterKind is {Me.TypeParameterKind}")
45
Return If(TypeOf Me.
ContainingSymbol
Is MethodSymbol, TypeParameterKind.Method, TypeParameterKind.Type)