10 references to ColonToken
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
2242
=> node.Update(VisitToken(node.HashToken), VisitToken(node.
ColonToken
), VisitToken(node.Content), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (5)
16689
if (hashToken != this.HashToken || colonToken != this.
ColonToken
|| content != this.Content || endOfDirectiveToken != this.EndOfDirectiveToken)
16700
public new IgnoredDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
ColonToken
, this.Content, this.EndOfDirectiveToken, this.IsActive);
16702
public IgnoredDirectiveTriviaSyntax WithContent(SyntaxToken content) => Update(this.HashToken, this.
ColonToken
, content, this.EndOfDirectiveToken, this.IsActive);
16704
public new IgnoredDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.
ColonToken
, this.Content, endOfDirectiveToken, this.IsActive);
16705
public IgnoredDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.
ColonToken
, this.Content, this.EndOfDirectiveToken, isActive);
Syntax\DirectiveTriviaSyntax.cs (1)
60
return ((IgnoredDirectiveTriviaSyntax)this).
ColonToken
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14261
Assert.Equal(SyntaxKind.ColonToken, node.
ColonToken
.Kind());
14265
var newNode = node.WithHashToken(node.HashToken).WithColonToken(node.
ColonToken
).WithContent(node.Content).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
334
AddClassification(node.
ColonToken
, ClassificationTypeNames.PreprocessorKeyword);