Base:
property
File
Microsoft.CodeAnalysis.CSharp.Syntax.LineOrSpanDirectiveTriviaSyntax.File
12 references to File
Microsoft.CodeAnalysis.CSharp (11)
_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);
16272
public LineDirectiveTriviaSyntax WithLine(SyntaxToken line) => Update(this.HashToken, this.LineKeyword, line, this.
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);
CommandLine\CSharpCompiler.cs (2)
353
var path = (string?)directive.
File
.Value;
365
directive.
File
.GetLocation(),
Syntax\CSharpLineDirectiveMap.cs (2)
77
if (directive.
File
.Kind() == SyntaxKind.StringLiteralToken)
79
mappedPathOpt = (string?)directive.
File
.Value;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
252
AddOptionalClassification(node.
File
, ClassificationTypeNames.StringLiteral);