2 writes to SourceFiles
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.VisualBasic (1)
52 references to SourceFiles
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (41)
CommandLineTests.cs (40)
462AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "a.cs"), Path.Combine(WorkingDirectory, "b.cs") }, cmd.Arguments.SourceFiles.Select(file => file.Path));
511string[] resolvedSourceFiles = args.SourceFiles.Select(f => f.Path).ToArray();
607string[] resolvedSourceFiles = args.SourceFiles.Select(f => f.Path).ToArray();
716resolvedSourceFiles = args.SourceFiles.Select(f => f.Path).ToArray();
721resolvedSourceFiles = args.SourceFiles.Select(f => f.Path).ToArray();
726resolvedSourceFiles = args.SourceFiles.Select(f => f.Path).ToArray();
1226parsedArgs.SourceFiles.Select((file) => file.Path.Replace(dir.ToString(), "{DIR}")));
1231parsedArgs.SourceFiles.Select((file) => file.Path.Replace(dir.ToString(), "{DIR}")));
1469Assert.True(parsedArgs.SourceFiles.Any());
1474Assert.True(parsedArgs.SourceFiles.Any());
1479Assert.False(parsedArgs.SourceFiles.Any());
1484Assert.False(parsedArgs.SourceFiles.Any());
1489Assert.False(parsedArgs.SourceFiles.Any());
1500Assert.True(parsedArgs.SourceFiles.Any());
1505Assert.False(parsedArgs.SourceFiles.Any());
1510Assert.False(parsedArgs.SourceFiles.Any());
1515Assert.True(parsedArgs.SourceFiles.Any());
1523Assert.Equal(1, parsedArgs.SourceFiles.Length);
1528Assert.True(parsedArgs.SourceFiles.Any());
1536Assert.False(parsedArgs.SourceFiles.Any());
1541Assert.True(parsedArgs.SourceFiles.Any());
1546Assert.True(parsedArgs.SourceFiles.Any());
1551Assert.True(parsedArgs.SourceFiles.Any());
1558Assert.True(parsedArgs.SourceFiles.Any());
1563Assert.True(parsedArgs.SourceFiles.Any());
1568Assert.True(parsedArgs.SourceFiles.Any());
2332AssertEx.Equal(parsedArgs.SourceFiles, parsedArgs.EmbeddedFiles);
6681AssertEx.Equal(new[] { @"d:\abc def\baz.cs", @"c:\abc de.cs" }, args.SourceFiles.Select(file => file.Path));
11421args.SourceFiles.Select(x => x.Path));
11426args.SourceFiles.Select(x => x.Path));
11448AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11452AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "@script.csx") }, args.SourceFiles.Select(f => f.Path));
11456AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "-script.csx") }, args.SourceFiles.Select(f => f.Path));
11460AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11464AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11468AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11473AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11478AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "script.csx") }, args.SourceFiles.Select(f => f.Path));
11483AssertEx.Equal(new[] { Path.Combine(WorkingDirectory, "--") }, args.SourceFiles.Select(f => f.Path));
11484Assert.True(args.SourceFiles[0].IsScript);
Microsoft.CodeAnalysis.InteractiveHost (2)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (1)
VBCSCompiler.UnitTests (1)