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