22 references to TypeParameterConstraintKind
Microsoft.CodeAnalysis.VisualBasic (22)
Symbols\ConstraintsHelper.vb (3)
110Case TypeParameterConstraintKind.ReferenceType 127Case TypeParameterConstraintKind.ValueType 144Case TypeParameterConstraintKind.None
Symbols\Metadata\PE\PETypeParameterSymbol.vb (3)
172constraintsBuilder.Add(New TypeParameterConstraint(TypeParameterConstraintKind.Constructor, Nothing)) 176constraintsBuilder.Add(New TypeParameterConstraint(TypeParameterConstraintKind.ReferenceType, Nothing)) 180constraintsBuilder.Add(New TypeParameterConstraint(TypeParameterConstraintKind.ValueType, Nothing))
Symbols\Source\SourceNamedTypeSymbol.vb (2)
898Private Shared Function GetConstraintKind(constraints As ImmutableArray(Of TypeParameterConstraint)) As TypeParameterConstraintKind 899Dim kind = TypeParameterConstraintKind.None
Symbols\TypeParameterConstraint.vb (14)
15Public Sub New(kind As TypeParameterConstraintKind, loc As Location) 17Debug.Assert((kind = TypeParameterConstraintKind.Constructor) OrElse 18(kind = TypeParameterConstraintKind.ReferenceType) OrElse 19(kind = TypeParameterConstraintKind.ValueType)) 23Me.New(TypeParameterConstraintKind.None, type, loc) 27Private Sub New(kind As TypeParameterConstraintKind, type As TypeSymbol, loc As Location) 39Public ReadOnly Kind As TypeParameterConstraintKind 45Return Kind = TypeParameterConstraintKind.Constructor 51Return Kind = TypeParameterConstraintKind.ReferenceType 57Return Kind = TypeParameterConstraintKind.ValueType 73Private Shared Function ToSyntaxKind(kind As TypeParameterConstraintKind) As SyntaxKind 75Case TypeParameterConstraintKind.Constructor 77Case TypeParameterConstraintKind.ReferenceType 79Case TypeParameterConstraintKind.ValueType