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