5 references to AllowsKeyword
Microsoft.CodeAnalysis.CSharp (3)
Syntax.xml.Main.Generated.cs (1)
2053
=> node.Update(VisitToken(node.
AllowsKeyword
), VisitList(node.Constraints));
Syntax.xml.Syntax.Generated.cs (2)
11974
if (allowsKeyword != this.
AllowsKeyword
|| constraints != this.Constraints)
11985
public AllowsConstraintClauseSyntax WithConstraints(SeparatedSyntaxList<AllowsConstraintSyntax> constraints) => Update(this.
AllowsKeyword
, constraints);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
13419
Assert.Equal(SyntaxKind.AllowsKeyword, node.
AllowsKeyword
.Kind());
13421
var newNode = node.WithAllowsKeyword(node.
AllowsKeyword
).WithConstraints(node.Constraints);