12 references to File
Microsoft.CodeAnalysis.CSharp (7)
Compilation\SyntaxAndDeclarationManager.cs (1)
206
var fileToken = directive.
File
;
Syntax.xml.Main.Generated.cs (1)
2236
=> node.Update(VisitToken(node.HashToken), VisitToken(node.LoadKeyword), VisitToken(node.
File
), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (5)
16581
if (hashToken != this.HashToken || loadKeyword != this.LoadKeyword || file != this.
File
|| endOfDirectiveToken != this.EndOfDirectiveToken)
16592
public new LoadDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.LoadKeyword, this.
File
, this.EndOfDirectiveToken, this.IsActive);
16593
public LoadDirectiveTriviaSyntax WithLoadKeyword(SyntaxToken loadKeyword) => Update(this.HashToken, loadKeyword, this.
File
, this.EndOfDirectiveToken, this.IsActive);
16596
public new LoadDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.LoadKeyword, this.
File
, endOfDirectiveToken, this.IsActive);
16597
public LoadDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.LoadKeyword, this.
File
, this.EndOfDirectiveToken, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.cs (2)
14235
Assert.Equal(SyntaxKind.StringLiteralToken, node.
File
.Kind());
14238
var newNode = node.WithHashToken(node.HashToken).WithLoadKeyword(node.LoadKeyword).WithFile(node.
File
).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
LexicalAndXml\PreprocessorTests.cs (2)
206
Assert.Equal(exp.Text, ((LoadDirectiveTriviaSyntax)dt).
File
.ValueText);
4425
Assert.True(node.GetLoadDirectives().Single().
File
.IsMissing);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
327
AddClassification(node.
File
, ClassificationTypeNames.StringLiteral);