10 references to Line
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
2221
=> node.Update(VisitToken(node.OpenParenToken), VisitToken(node.
Line
), VisitToken(node.CommaToken), VisitToken(node.Character), VisitToken(node.CloseParenToken));
Syntax.xml.Syntax.Generated.cs (5)
16263
if (openParenToken != this.OpenParenToken || line != this.
Line
|| commaToken != this.CommaToken || character != this.Character || closeParenToken != this.CloseParenToken)
16273
public LineDirectivePositionSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(openParenToken, this.
Line
, this.CommaToken, this.Character, this.CloseParenToken);
16275
public LineDirectivePositionSyntax WithCommaToken(SyntaxToken commaToken) => Update(this.OpenParenToken, this.
Line
, commaToken, this.Character, this.CloseParenToken);
16276
public LineDirectivePositionSyntax WithCharacter(SyntaxToken character) => Update(this.OpenParenToken, this.
Line
, this.CommaToken, character, this.CloseParenToken);
16277
public LineDirectivePositionSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.OpenParenToken, this.
Line
, this.CommaToken, this.Character, closeParenToken);
Syntax\CSharpLineDirectiveMap.cs (1)
163
if (tryGetNumericLiteralValue(syntax.
Line
, out int line, oneBased: true) &&
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14155
Assert.Equal(SyntaxKind.NumericLiteralToken, node.
Line
.Kind());
14159
var newNode = node.WithOpenParenToken(node.OpenParenToken).WithLine(node.
Line
).WithCommaToken(node.CommaToken).WithCharacter(node.Character).WithCloseParenToken(node.CloseParenToken);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
278
AddClassification(node.
Line
, ClassificationTypeNames.NumericLiteral);