6 instantiations of CommandLineSourceFile
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineParser.cs (1)
1118return new CommandLineSourceFile(resolvedPath, isScriptFile, isInputRedirected);
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (2)
301sourceFiles.Add(new CommandLineSourceFile("-", isScript: true, isInputRedirected: true)); 1353sourceFiles.Add(new CommandLineSourceFile("-", isScript: false, isInputRedirected: true));
Microsoft.CodeAnalysis.VisualBasic (2)
CommandLine\VisualBasicCommandLineParser.vb (2)
457sourceFiles.Add(New CommandLineSourceFile("-", isScript:=True, isInputRedirected:=True)) 1271sourceFiles.Add(New CommandLineSourceFile("-", isScript:=False, isInputRedirected:=True))
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\CommandLineProject.cs (1)
140analyzerConfigDocuments: CreateDocuments(commandLineArguments.AnalyzerConfigPaths.SelectAsArray(p => new CommandLineSourceFile(p, isScript: false))),
27 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; } 268public 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)
256internal SourceText? TryReadFileContent(CommandLineSourceFile file, IList<DiagnosticInfo> diagnostics) 268internal SourceText? TryReadFileContent(CommandLineSourceFile file, IList<DiagnosticInfo> diagnostics, out string? normalizedFilePath) 1603foreach (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>(); 1651List<CommandLineSourceFile> sourceFiles,
CommandLine\CSharpCompiler.cs (2)
177CommandLineSourceFile file, 205CommandLineSourceFile file)
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)() 2304sourceFiles 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)
145IList<DocumentInfo> CreateDocuments(ImmutableArray<CommandLineSourceFile> files) 149foreach (var fileArg in files)