15 references to Content
Microsoft.CodeAnalysis.CSharp (6)
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)
16689if (hashToken != this.HashToken || colonToken != this.ColonToken || content != this.Content || endOfDirectiveToken != this.EndOfDirectiveToken) 16700public new IgnoredDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.ColonToken, this.Content, this.EndOfDirectiveToken, this.IsActive); 16701public IgnoredDirectiveTriviaSyntax WithColonToken(SyntaxToken colonToken) => Update(this.HashToken, colonToken, this.Content, this.EndOfDirectiveToken, this.IsActive); 16704public new IgnoredDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.ColonToken, this.Content, endOfDirectiveToken, this.IsActive); 16705public IgnoredDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.ColonToken, this.Content, this.EndOfDirectiveToken, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.cs (2)
14262Assert.Equal(SyntaxKind.None, node.Content.Kind()); 14265var newNode = node.WithHashToken(node.HashToken).WithColonToken(node.ColonToken).WithContent(node.Content).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Parsing\IgnoredDirectiveParsingTests.cs (2)
128var content = structure.Content; 150var content = structure.Content;
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\Worker_Preprocesser.cs (5)
338if (node.Content.Text.IndexOfAny([' ', '\t']) is > 0 and var firstSpaceIndex) 340var keywordSpan = new TextSpan(node.Content.SpanStart, firstSpaceIndex); 341var stringLiteralSpan = TextSpan.FromBounds(node.Content.SpanStart + firstSpaceIndex, node.Content.FullSpan.End); 348AddClassification(node.Content, ClassificationTypeNames.PreprocessorKeyword);