9 references to Constructor
Microsoft.CodeAnalysis.VisualBasic (8)
Binding\Binder_Constraints.vb (4)
52If (constraints And TypeParameterConstraintKind.Constructor) <> 0 Then 57constraints = constraints Or TypeParameterConstraintKind.Constructor 58constraintsBuilder.Add(New TypeParameterConstraint(TypeParameterConstraintKind.Constructor, syntax.GetLocation())) 74ElseIf (constraints And TypeParameterConstraintKind.Constructor) <> 0 Then
Symbols\Metadata\PE\PETypeParameterSymbol.vb (1)
156constraintsBuilder.Add(New TypeParameterConstraint(TypeParameterConstraintKind.Constructor, Nothing))
Symbols\TypeParameterConstraint.vb (3)
17Debug.Assert((kind = TypeParameterConstraintKind.Constructor) OrElse 45Return Kind = TypeParameterConstraintKind.Constructor 75Case TypeParameterConstraintKind.Constructor
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\GenericConstraintTests.vb (1)
5554Assert.Equal((constraints And TypeParameterConstraintKind.Constructor) <> 0, typeParameter.HasConstructorConstraint)