9 references to ExclamationToken
Microsoft.CodeAnalysis.CSharp (6)
Syntax.xml.Main.Generated.cs (1)
2239
=> node.Update(VisitToken(node.HashToken), VisitToken(node.
ExclamationToken
), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (4)
16631
if (hashToken != this.HashToken || exclamationToken != this.
ExclamationToken
|| endOfDirectiveToken != this.EndOfDirectiveToken)
16642
public new ShebangDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
ExclamationToken
, this.EndOfDirectiveToken, this.IsActive);
16645
public new ShebangDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.
ExclamationToken
, endOfDirectiveToken, this.IsActive);
16646
public ShebangDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.
ExclamationToken
, this.EndOfDirectiveToken, isActive);
Syntax\DirectiveTriviaSyntax.cs (1)
58
return ((ShebangDirectiveTriviaSyntax)this).
ExclamationToken
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Generated\Syntax.Test.xml.Generated.cs (2)
14248
Assert.Equal(SyntaxKind.ExclamationToken, node.
ExclamationToken
.Kind());
14251
var newNode = node.WithHashToken(node.HashToken).WithExclamationToken(node.
ExclamationToken
).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Parsing\ScriptParsingTests.cs (1)
10251
Assert.Equal(SyntaxKind.ExclamationToken, shebang.
ExclamationToken
.Kind());