32 references to CreateCSharpCompiler
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (32)
CommandLineTestBase.cs (1)
57
return
CreateCSharpCompiler
(null, WorkingDirectory, args, analyzers, generators, loader, driverCache, additionalReferences);
CommandLineTests.cs (19)
145
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/errorlog:errorlog", $"/doc:{docName}", "/warnaserror", src.Path });
165
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/t:library", "/preferreduilang:en", $"/doc:{docName}", src.Path });
194
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] {
287
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] {
339
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] {
375
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] {
399
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", src.Path });
419
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/codepage:932", src.Path });
453
var cmd =
CreateCSharpCompiler
(rsp, WorkingDirectory, new[] { "b.cs" });
582
var csc =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/preferreduilang:en", "/nosdkpath", "/r:System.dll", "a.cs" });
690
int exitCode =
CreateCSharpCompiler
(null, folder.Path, new[] { "/nologo", "/preferreduilang:en", "/t:library", @"/recurse:.", "/out:abc.dll" }).Run(outWriter);
695
exitCode =
CreateCSharpCompiler
(null, folder.Path, new[] { "/nologo", "/preferreduilang:en", "/t:library", @"/recurse:. ", "/out:abc.dll" }).Run(outWriter);
700
exitCode =
CreateCSharpCompiler
(null, folder.Path, new[] { "/nologo", "/preferreduilang:en", "/t:library", @"/recurse: . ", "/out:abc.dll" }).Run(outWriter);
705
exitCode =
CreateCSharpCompiler
(null, folder.Path, new[] { "/nologo", "/preferreduilang:en", "/t:library", @"/recurse:././.", "/out:abc.dll" }).Run(outWriter);
1875
var csc =
CreateCSharpCompiler
(null, dir.Path, new[] { "/langversion:?" });
2249
var csc =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/debug:embedded", "/sourcelink:sl.json", "a.cs" });
2281
var csc =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/debug:portable", "/sourcelink:sl.json", "a.cs" });
2310
var csc =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/debug:full", "/sourcelink:sl.json", "a.cs" });
2453
var csc =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", debugSwitch, embedSwitch, "embed.cs", "embed2.cs" });
SarifErrorLoggerTests.cs (8)
78
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments);
112
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments);
145
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments,
181
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments,
216
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments,
251
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments,
286
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments,
319
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments,
SarifV2ErrorLoggerTests.cs (4)
451
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments,
533
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments,
603
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments,
683
var cmd =
CreateCSharpCompiler
(null, WorkingDirectory, arguments);