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