1 write to Path
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineSourceFile.cs (1)
23
Path
= path;
18 references to Path
Microsoft.CodeAnalysis (10)
AdditionalTextFile.cs (1)
48
public override string Path => _sourceFile.
Path
;
CommandLine\CommonCompiler.cs (9)
258
var filePath = file.
Path
;
265
return EncodedStringText.Create(data, _fallbackEncoding, Arguments.Encoding, Arguments.ChecksumAlgorithm, canBeEmbedded: EmbeddedSourcePaths.Contains(file.
Path
));
270
return EncodedStringText.Create(data, _fallbackEncoding, Arguments.Encoding, Arguments.ChecksumAlgorithm, canBeEmbedded: EmbeddedSourcePaths.Contains(file.
Path
));
422
var embeddedFileOrderedSet = new OrderedSet<string>(Arguments.EmbeddedFiles.Select(e => e.
Path
));
489
var set = new HashSet<string>(arguments.EmbeddedFiles.Select(f => f.
Path
));
490
set.IntersectWith(arguments.SourceFiles.Select(f => f.
Path
));
925
sourceFileAnalyzerConfigOptions = Arguments.SourceFiles.SelectAsArray(f => analyzerConfigSet.GetOptionsForSourcePath(f.
Path
));
1626
Debug.Assert(PathUtilities.IsAbsolute(file.
Path
));
1627
if (filePaths.Add(PathUtilities.ExpandAbsolutePathWithRelativeParts(file.
Path
)))
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (1)
1709
simpleName = PathUtilities.RemoveExtension(PathUtilities.GetFileName(sourceFiles.FirstOrDefault().
Path
));
CommandLine\CSharpCompiler.cs (1)
210
file.
Path
);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
127
var scriptPathOpt = sourceFiles.IsEmpty ? null : sourceFiles[0].
Path
;
Microsoft.CodeAnalysis.VisualBasic (2)
CommandLine\VisualBasicCompiler.vb (2)
76
file.
Path
)
138
touchedFilesLogger.AddRead(file.
Path
)
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\CommandLineProject.cs (3)
151
var absolutePath = Path.IsPathRooted(fileArg.
Path
) || string.IsNullOrEmpty(projectDirectory)
152
? Path.GetFullPath(fileArg.
Path
)
153
: Path.GetFullPath(Path.Combine(projectDirectory, fileArg.
Path
));