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)
509
string[] resolvedSourceFiles = args.
SourceFiles
.Select(f => f.Path).ToArray();
605
string[] resolvedSourceFiles = args.
SourceFiles
.Select(f => f.Path).ToArray();
714
resolvedSourceFiles = args.
SourceFiles
.Select(f => f.Path).ToArray();
719
resolvedSourceFiles = args.
SourceFiles
.Select(f => f.Path).ToArray();
724
resolvedSourceFiles = args.
SourceFiles
.Select(f => f.Path).ToArray();
1238
parsedArgs.
SourceFiles
.Select((file) => file.Path.Replace(dir.ToString(), "{DIR}")));
1243
parsedArgs.
SourceFiles
.Select((file) => file.Path.Replace(dir.ToString(), "{DIR}")));
1481
Assert.True(parsedArgs.
SourceFiles
.Any());
1486
Assert.True(parsedArgs.
SourceFiles
.Any());
1491
Assert.False(parsedArgs.
SourceFiles
.Any());
1496
Assert.False(parsedArgs.
SourceFiles
.Any());
1501
Assert.False(parsedArgs.
SourceFiles
.Any());
1512
Assert.True(parsedArgs.
SourceFiles
.Any());
1517
Assert.False(parsedArgs.
SourceFiles
.Any());
1522
Assert.False(parsedArgs.
SourceFiles
.Any());
1527
Assert.True(parsedArgs.
SourceFiles
.Any());
1535
Assert.Equal(1, parsedArgs.
SourceFiles
.Length);
1540
Assert.True(parsedArgs.
SourceFiles
.Any());
1548
Assert.False(parsedArgs.
SourceFiles
.Any());
1553
Assert.True(parsedArgs.
SourceFiles
.Any());
1558
Assert.True(parsedArgs.
SourceFiles
.Any());
1563
Assert.True(parsedArgs.
SourceFiles
.Any());
1570
Assert.True(parsedArgs.
SourceFiles
.Any());
1575
Assert.True(parsedArgs.
SourceFiles
.Any());
1580
Assert.True(parsedArgs.
SourceFiles
.Any());
2331
AssertEx.Equal(parsedArgs.
SourceFiles
, parsedArgs.EmbeddedFiles);
Microsoft.CodeAnalysis.InteractiveHost (2)
Interactive\Core\InteractiveHost.Service.cs (2)
562
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())
2373
AssertEx.Equal({"{DIR}\a.vb", "{DIR}\b.vb", "{DIR}\d2\e.vb"}, parsedArgs.
SourceFiles
.Select(Function(file) file.Path.Replace(dir.ToString(), "{DIR}")))
2377
AssertEx.Equal({"{DIR}\a.vb", "{DIR}\b.vb"}, parsedArgs.
SourceFiles
.Select(Function(file) file.Path.Replace(dir.ToString(), "{DIR}")))
2445
resolvedSourceFiles = args.
SourceFiles
.Select(Function(f) f.Path).ToArray()
2450
resolvedSourceFiles = args.
SourceFiles
.Select(Function(f) f.Path).ToArray()
2455
resolvedSourceFiles = args.
SourceFiles
.Select(Function(f) f.Path).ToArray()
3247
AssertEx.Equal(parsedArgs.
SourceFiles
, parsedArgs.EmbeddedFiles)
9148
args.
SourceFiles
.Select(Function(x) x.Path))
9153
args.
SourceFiles
.Select(Function(x) x.Path))
9158
args.
SourceFiles
.Select(Function(x) x.Path))
9274
args.
SourceFiles
.Select(Function(x) x.Path))
9279
args.
SourceFiles
.Select(Function(x) x.Path))
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\CommandLineProject.cs (1)
135
documents: CreateDocuments(commandLineArguments.
SourceFiles
),