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)
146
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/errorlog:errorlog", $"/doc:{docName}", "/warnaserror", src.Path });
166
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/t:library", "/preferreduilang:en", $"/doc:{docName}", src.Path });
195
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] {
288
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] {
340
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] {
376
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] {
400
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", src.Path });
420
var cmd =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/codepage:932", src.Path });
454
var cmd =
CreateCSharpCompiler
(rsp, WorkingDirectory, new[] { "b.cs" });
583
var csc =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/preferreduilang:en", "/nosdkpath", "/r:System.dll", "a.cs" });
691
int exitCode =
CreateCSharpCompiler
(null, folder.Path, new[] { "/nologo", "/preferreduilang:en", "/t:library", @"/recurse:.", "/out:abc.dll" }).Run(outWriter);
696
exitCode =
CreateCSharpCompiler
(null, folder.Path, new[] { "/nologo", "/preferreduilang:en", "/t:library", @"/recurse:. ", "/out:abc.dll" }).Run(outWriter);
701
exitCode =
CreateCSharpCompiler
(null, folder.Path, new[] { "/nologo", "/preferreduilang:en", "/t:library", @"/recurse: . ", "/out:abc.dll" }).Run(outWriter);
706
exitCode =
CreateCSharpCompiler
(null, folder.Path, new[] { "/nologo", "/preferreduilang:en", "/t:library", @"/recurse:././.", "/out:abc.dll" }).Run(outWriter);
1876
var csc =
CreateCSharpCompiler
(null, dir.Path, new[] { "/langversion:?" });
2250
var csc =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/debug:embedded", "/sourcelink:sl.json", "a.cs" });
2282
var csc =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/debug:portable", "/sourcelink:sl.json", "a.cs" });
2311
var csc =
CreateCSharpCompiler
(null, dir.Path, new[] { "/nologo", "/debug:full", "/sourcelink:sl.json", "a.cs" });
2454
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);