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