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