10 references to TypeParameterConstraintClause
Microsoft.CodeAnalysis.VisualBasic (8)
Generated\Syntax.xml.Main.Generated.vb (2)
1908
Dim newTypeParameterConstraintClause = DirectCast(Visit(node.
TypeParameterConstraintClause
), TypeParameterConstraintClauseSyntax)
1909
If node.
TypeParameterConstraintClause
IsNot newTypeParameterConstraintClause Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
4577
return Update(varianceKeyword, Me.Identifier, Me.
TypeParameterConstraintClause
)
4595
return Update(Me.VarianceKeyword, identifier, Me.
TypeParameterConstraintClause
)
4632
Return Me.
TypeParameterConstraintClause
4661
If varianceKeyword <> Me.VarianceKeyword OrElse identifier <> Me.Identifier OrElse typeParameterConstraintClause IsNot Me.
TypeParameterConstraintClause
Then
Symbols\Source\SourceMethodSymbol.vb (1)
905
Return binder.BindTypeParameterConstraintClause(Me, syntax.
TypeParameterConstraintClause
, diagnostics)
Symbols\Source\SourceNamedTypeSymbol.vb (1)
845
Dim constraints = binder.BindTypeParameterConstraintClause(Me, typeParamSyntax.
TypeParameterConstraintClause
, diagBag)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (1)
18866
Dim withObj = objectUnderTest.WithVarianceKeyword(objectUnderTest.VarianceKeyword).WithIdentifier(objectUnderTest.Identifier).WithTypeParameterConstraintClause(objectUnderTest.
TypeParameterConstraintClause
)
Syntax\ManualTests.vb (1)
24
Assert.Null(tp2.
TypeParameterConstraintClause
)