1 write to SourceFiles
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
1492
.
SourceFiles
= sourceFiles.AsImmutable(),
58 references to SourceFiles
Microsoft.CodeAnalysis (4)
CommandLine\CommandLineArguments.cs (1)
29
/// Drop to an interactive loop. If a script is specified in <see cref="
SourceFiles
"/> executes the script first.
CommandLine\CommonCompiler.cs (3)
501
set.IntersectWith(arguments.
SourceFiles
.Select(f => f.Path));
931
sourceFileAnalyzerConfigOptions = Arguments.
SourceFiles
.SelectAsArray(f => analyzerConfigSet.GetOptionsForSourcePath(f.Path));
1154
var generatedSyntaxTrees = compilation.SyntaxTrees.Skip(Arguments.
SourceFiles
.Length).ToList();
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCompiler.cs (1)
53
var sourceFiles = Arguments.
SourceFiles
;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (26)
CommandLineTests.cs (26)
510
string[] resolvedSourceFiles = args.
SourceFiles
.Select(f => f.Path).ToArray();
606
string[] resolvedSourceFiles = args.
SourceFiles
.Select(f => f.Path).ToArray();
715
resolvedSourceFiles = args.
SourceFiles
.Select(f => f.Path).ToArray();
720
resolvedSourceFiles = args.
SourceFiles
.Select(f => f.Path).ToArray();
725
resolvedSourceFiles = args.
SourceFiles
.Select(f => f.Path).ToArray();
1239
parsedArgs.
SourceFiles
.Select((file) => file.Path.Replace(dir.ToString(), "{DIR}")));
1244
parsedArgs.
SourceFiles
.Select((file) => file.Path.Replace(dir.ToString(), "{DIR}")));
1482
Assert.True(parsedArgs.
SourceFiles
.Any());
1487
Assert.True(parsedArgs.
SourceFiles
.Any());
1492
Assert.False(parsedArgs.
SourceFiles
.Any());
1497
Assert.False(parsedArgs.
SourceFiles
.Any());
1502
Assert.False(parsedArgs.
SourceFiles
.Any());
1513
Assert.True(parsedArgs.
SourceFiles
.Any());
1518
Assert.False(parsedArgs.
SourceFiles
.Any());
1523
Assert.False(parsedArgs.
SourceFiles
.Any());
1528
Assert.True(parsedArgs.
SourceFiles
.Any());
1536
Assert.Equal(1, parsedArgs.
SourceFiles
.Length);
1541
Assert.True(parsedArgs.
SourceFiles
.Any());
1549
Assert.False(parsedArgs.
SourceFiles
.Any());
1554
Assert.True(parsedArgs.
SourceFiles
.Any());
1559
Assert.True(parsedArgs.
SourceFiles
.Any());
1564
Assert.True(parsedArgs.
SourceFiles
.Any());
1571
Assert.True(parsedArgs.
SourceFiles
.Any());
1576
Assert.True(parsedArgs.
SourceFiles
.Any());
1581
Assert.True(parsedArgs.
SourceFiles
.Any());
2332
AssertEx.Equal(parsedArgs.
SourceFiles
, parsedArgs.EmbeddedFiles);
Microsoft.CodeAnalysis.InteractiveHost (2)
Interactive\Core\InteractiveHost.Service.cs (2)
564
initializationScriptPath = args.
SourceFiles
.IsEmpty ? null : args.
SourceFiles
[0].Path;
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCompiler.vb (1)
99
Dim sourceFiles As ImmutableArray(Of CommandLineSourceFile) = Arguments.
SourceFiles
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (23)
CommandLineTests.vb (23)
767
cmd.Arguments.
SourceFiles
.Select(Function(file) file.Path))
1419
Assert.Equal(True, parsedArgs.
SourceFiles
.Any())
1423
Assert.Equal(True, parsedArgs.
SourceFiles
.Any())
1427
Assert.Equal(False, parsedArgs.
SourceFiles
.Any())
1431
Assert.Equal(False, parsedArgs.
SourceFiles
.Any())
1435
Assert.Equal(True, parsedArgs.
SourceFiles
.Any())
1442
Assert.Equal(False, parsedArgs.
SourceFiles
.Any())
1446
Assert.Equal(False, parsedArgs.
SourceFiles
.Any())
1450
Assert.Equal(True, parsedArgs.
SourceFiles
.Any())
1456
Assert.Equal(True, parsedArgs.
SourceFiles
.Any())
1460
Assert.Equal(True, parsedArgs.
SourceFiles
.Any())
1464
Assert.Equal(False, parsedArgs.
SourceFiles
.Any())
2372
AssertEx.Equal({"{DIR}\a.vb", "{DIR}\b.vb", "{DIR}\d2\e.vb"}, parsedArgs.
SourceFiles
.Select(Function(file) file.Path.Replace(dir.ToString(), "{DIR}")))
2376
AssertEx.Equal({"{DIR}\a.vb", "{DIR}\b.vb"}, parsedArgs.
SourceFiles
.Select(Function(file) file.Path.Replace(dir.ToString(), "{DIR}")))
2444
resolvedSourceFiles = args.
SourceFiles
.Select(Function(f) f.Path).ToArray()
2449
resolvedSourceFiles = args.
SourceFiles
.Select(Function(f) f.Path).ToArray()
2454
resolvedSourceFiles = args.
SourceFiles
.Select(Function(f) f.Path).ToArray()
3246
AssertEx.Equal(parsedArgs.
SourceFiles
, parsedArgs.EmbeddedFiles)
9175
args.
SourceFiles
.Select(Function(x) x.Path))
9180
args.
SourceFiles
.Select(Function(x) x.Path))
9185
args.
SourceFiles
.Select(Function(x) x.Path))
9301
args.
SourceFiles
.Select(Function(x) x.Path))
9306
args.
SourceFiles
.Select(Function(x) x.Path))
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\CommandLineProject.cs (1)
135
documents: CreateDocuments(commandLineArguments.
SourceFiles
),