2 writes to SourceFiles
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.VisualBasic (1)
77 references to SourceFiles
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (41)
CommandLineTests.cs (40)
405AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "a.cs"), Path.Combine(WorkingDirectory, "b.cs") }, cmd.Arguments.SourceFiles.Select(file => file.Path));
454string[] resolvedSourceFiles = args.SourceFiles.Select(f => f.Path).ToArray();
550string[] resolvedSourceFiles = args.SourceFiles.Select(f => f.Path).ToArray();
659resolvedSourceFiles = args.SourceFiles.Select(f => f.Path).ToArray();
664resolvedSourceFiles = args.SourceFiles.Select(f => f.Path).ToArray();
669resolvedSourceFiles = args.SourceFiles.Select(f => f.Path).ToArray();
1183parsedArgs.SourceFiles.Select((file) => file.Path.Replace(dir.ToString(), "{DIR}")));
1188parsedArgs.SourceFiles.Select((file) => file.Path.Replace(dir.ToString(), "{DIR}")));
1426Assert.True(parsedArgs.SourceFiles.Any());
1431Assert.True(parsedArgs.SourceFiles.Any());
1436Assert.False(parsedArgs.SourceFiles.Any());
1441Assert.False(parsedArgs.SourceFiles.Any());
1446Assert.False(parsedArgs.SourceFiles.Any());
1457Assert.True(parsedArgs.SourceFiles.Any());
1462Assert.False(parsedArgs.SourceFiles.Any());
1467Assert.False(parsedArgs.SourceFiles.Any());
1472Assert.True(parsedArgs.SourceFiles.Any());
1480Assert.Equal(1, parsedArgs.SourceFiles.Length);
1485Assert.True(parsedArgs.SourceFiles.Any());
1493Assert.False(parsedArgs.SourceFiles.Any());
1498Assert.True(parsedArgs.SourceFiles.Any());
1503Assert.True(parsedArgs.SourceFiles.Any());
1508Assert.True(parsedArgs.SourceFiles.Any());
1515Assert.True(parsedArgs.SourceFiles.Any());
1520Assert.True(parsedArgs.SourceFiles.Any());
1525Assert.True(parsedArgs.SourceFiles.Any());
2268AssertEx.Equal(parsedArgs.SourceFiles, parsedArgs.EmbeddedFiles);
6460AssertEx.Equal(new[] { @"d:\abc def\baz.cs", @"c:\abc de.cs" }, args.SourceFiles.Select(file => file.Path));
11156args.SourceFiles.Select(x => x.Path));
11161args.SourceFiles.Select(x => x.Path));
11183AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11187AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "@script.csx") }, args.SourceFiles.Select(f => f.Path));
11191AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "-script.csx") }, args.SourceFiles.Select(f => f.Path));
11195AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11199AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11203AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11208AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11213AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11218AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "--") }, args.SourceFiles.Select(f => f.Path));
11219Assert.True(args.SourceFiles[0].IsScript);
Microsoft.CodeAnalysis.InteractiveHost (2)
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator (1)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (24)
CommandLineTests.vb (23)
766cmd.Arguments.SourceFiles.Select(Function(file) file.Path))
1418Assert.Equal(True, parsedArgs.SourceFiles.Any())
1422Assert.Equal(True, parsedArgs.SourceFiles.Any())
1426Assert.Equal(False, parsedArgs.SourceFiles.Any())
1430Assert.Equal(False, parsedArgs.SourceFiles.Any())
1434Assert.Equal(True, parsedArgs.SourceFiles.Any())
1441Assert.Equal(False, parsedArgs.SourceFiles.Any())
1445Assert.Equal(False, parsedArgs.SourceFiles.Any())
1449Assert.Equal(True, parsedArgs.SourceFiles.Any())
1455Assert.Equal(True, parsedArgs.SourceFiles.Any())
1459Assert.Equal(True, parsedArgs.SourceFiles.Any())
1463Assert.Equal(False, parsedArgs.SourceFiles.Any())
2365AssertEx.Equal({"{DIR}\a.vb", "{DIR}\b.vb", "{DIR}\d2\e.vb"}, parsedArgs.SourceFiles.Select(Function(file) file.Path.Replace(dir.ToString(), "{DIR}")))
2369AssertEx.Equal({"{DIR}\a.vb", "{DIR}\b.vb"}, parsedArgs.SourceFiles.Select(Function(file) file.Path.Replace(dir.ToString(), "{DIR}")))
2437resolvedSourceFiles = args.SourceFiles.Select(Function(f) f.Path).ToArray()
2442resolvedSourceFiles = args.SourceFiles.Select(Function(f) f.Path).ToArray()
2447resolvedSourceFiles = args.SourceFiles.Select(Function(f) f.Path).ToArray()
3239AssertEx.Equal(parsedArgs.SourceFiles, parsedArgs.EmbeddedFiles)
9057args.SourceFiles.Select(Function(x) x.Path))
9062args.SourceFiles.Select(Function(x) x.Path))
9067args.SourceFiles.Select(Function(x) x.Path))
9183args.SourceFiles.Select(Function(x) x.Path))
9188args.SourceFiles.Select(Function(x) x.Path))
Microsoft.CodeAnalysis.Workspaces (1)
VBCSCompiler.UnitTests (1)