5 instantiations of CommandLineSourceFile
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineParser.cs (1)
1118return new CommandLineSourceFile(resolvedPath, isScriptFile, isInputRedirected);
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (2)
297sourceFiles.Add(new CommandLineSourceFile("-", isScript: true, isInputRedirected: true)); 1349sourceFiles.Add(new CommandLineSourceFile("-", isScript: false, isInputRedirected: true));
Microsoft.CodeAnalysis.VisualBasic (2)
CommandLine\VisualBasicCommandLineParser.vb (2)
438sourceFiles.Add(New CommandLineSourceFile("-", isScript:=True, isInputRedirected:=True)) 1252sourceFiles.Add(New CommandLineSourceFile("-", isScript:=False, isInputRedirected:=True))
29 references to CommandLineSourceFile
Microsoft.CodeAnalysis (10)
AdditionalTextFile.cs (2)
18private readonly CommandLineSourceFile _sourceFile; 23public AdditionalTextFile(CommandLineSourceFile sourceFile, CommonCompiler compiler)
CommandLine\CommandLineArguments.cs (3)
172public ImmutableArray<CommandLineSourceFile> AdditionalFiles { get; internal set; } 177public ImmutableArray<CommandLineSourceFile> EmbeddedFiles { get; internal set; } 263public ImmutableArray<CommandLineSourceFile> SourceFiles { get; internal set; }
CommandLine\CommandLineParser.cs (2)
1103private protected CommandLineSourceFile ToCommandLineSourceFile(string resolvedPath, bool isInputRedirected = false) 1180internal IEnumerable<CommandLineSourceFile> ParseRecurseArgument(string arg, string? baseDirectory, IList<Diagnostic> errors)
CommandLine\CommonCompiler.cs (3)
253internal SourceText? TryReadFileContent(CommandLineSourceFile file, IList<DiagnosticInfo> diagnostics) 265internal SourceText? TryReadFileContent(CommandLineSourceFile file, IList<DiagnosticInfo> diagnostics, out string? normalizedFilePath) 1461foreach (var file in Arguments.AdditionalFiles)
Microsoft.CodeAnalysis.CSharp (9)
CommandLine\CSharpCommandLineParser.cs (7)
101List<CommandLineSourceFile> sourceFiles = new List<CommandLineSourceFile>(); 102List<CommandLineSourceFile> additionalFiles = new List<CommandLineSourceFile>(); 104List<CommandLineSourceFile> embeddedFiles = new List<CommandLineSourceFile>(); 1635List<CommandLineSourceFile> sourceFiles,
CommandLine\CSharpCompiler.cs (2)
177CommandLineSourceFile file, 205CommandLineSourceFile file)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
TouchedFileLoggingTests.cs (1)
216foreach (var file in cmd.Arguments.SourceFiles)
Microsoft.CodeAnalysis.VisualBasic (6)
CommandLine\VisualBasicCommandLineParser.vb (4)
119Dim sourceFiles = New List(Of CommandLineSourceFile)() 121Dim additionalFiles = New List(Of CommandLineSourceFile)() 123Dim embeddedFiles = New List(Of CommandLineSourceFile)() 2284sourceFiles As List(Of CommandLineSourceFile),
CommandLine\VisualBasicCompiler.vb (2)
59file As CommandLineSourceFile, 99Dim sourceFiles As ImmutableArray(Of CommandLineSourceFile) = Arguments.SourceFiles
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\CommandLineProject.cs (2)
113foreach (var fileArg in commandLineArguments.SourceFiles) 140foreach (var fileArg in commandLineArguments.AdditionalFiles)
VBCSCompiler.UnitTests (1)
TouchedFileLoggingTests.cs (1)
165foreach (var file in cmd.Arguments.SourceFiles)