23 references to Line
Microsoft.CodeAnalysis.CSharp (8)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2230=> node.Update(VisitToken(node.HashToken), VisitToken(node.LineKeyword), VisitToken(node.Line), VisitToken(node.File), VisitToken(node.EndOfDirectiveToken), node.IsActive);
_generated\2\Syntax.xml.Syntax.Generated.cs (6)
16258if (hashToken != this.HashToken || lineKeyword != this.LineKeyword || line != this.Line || file != this.File || endOfDirectiveToken != this.EndOfDirectiveToken) 16269public new LineDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.LineKeyword, this.Line, this.File, this.EndOfDirectiveToken, this.IsActive); 16271public new LineDirectiveTriviaSyntax WithLineKeyword(SyntaxToken lineKeyword) => Update(this.HashToken, lineKeyword, this.Line, this.File, this.EndOfDirectiveToken, this.IsActive); 16274public new LineDirectiveTriviaSyntax WithFile(SyntaxToken file) => Update(this.HashToken, this.LineKeyword, this.Line, file, this.EndOfDirectiveToken, this.IsActive); 16276public new LineDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.LineKeyword, this.Line, this.File, endOfDirectiveToken, this.IsActive); 16277public LineDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.LineKeyword, this.Line, this.File, this.EndOfDirectiveToken, isActive);
Syntax\CSharpLineDirectiveMap.cs (1)
50SyntaxToken lineToken = directive.Line;
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (4)
149if (lineDirective.Line.Kind() == SyntaxKind.DefaultKeyword) 154else if (lineDirective.Line.Kind() == SyntaxKind.NumericLiteralToken && 155lineDirective.Line.Value is int) 157info = new ExternalSourceInfo((int)lineDirective.Line.Value, false);
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
Classification\Worker_Preprocesser.cs (3)
241switch (node.Line.Kind()) 245AddClassification(node.Line, ClassificationTypeNames.PreprocessorKeyword); 248AddClassification(node.Line, ClassificationTypeNames.NumericLiteral);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (4)
149if (lineDirective.Line.Kind() == SyntaxKind.DefaultKeyword) 154else if (lineDirective.Line.Kind() == SyntaxKind.NumericLiteralToken && 155lineDirective.Line.Value is int) 157info = new ExternalSourceInfo((int)lineDirective.Line.Value, false);
Roslyn.Diagnostics.CSharp.Analyzers (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (4)
149if (lineDirective.Line.Kind() == SyntaxKind.DefaultKeyword) 154else if (lineDirective.Line.Kind() == SyntaxKind.NumericLiteralToken && 155lineDirective.Line.Value is int) 157info = new ExternalSourceInfo((int)lineDirective.Line.Value, false);