1 type derived from CommonCompiler
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCompiler.cs (1)
21
internal abstract class CSharpCompiler :
CommonCompiler
46 references to CommonCompiler
csc (3)
src\roslyn\src\Compilers\CSharp\csc\Program.cs (1)
25
return
CommonCompiler
.Failed;
src\roslyn\src\Compilers\Shared\BuildClient.cs (2)
29
internal static readonly RunCompilationResult Succeeded = new RunCompilationResult(
CommonCompiler
.Succeeded);
31
internal static readonly RunCompilationResult Failed = new RunCompilationResult(
CommonCompiler
.Failed);
Microsoft.CodeAnalysis (11)
AdditionalTextFile.cs (2)
20
private readonly
CommonCompiler
_compiler;
24
public AdditionalTextFile(CommandLineSourceFile sourceFile,
CommonCompiler
compiler)
CommandLine\CommandLineArguments.cs (5)
22
/// <see cref="
CommonCompiler
"/>.
196
/// <see cref="
CommonCompiler
.Run"/>.
202
/// <see cref="
CommonCompiler
.Run"/>
208
/// <see cref="
CommonCompiler
.Run"/>
214
/// <see cref="
CommonCompiler
.Run"/>
CommandLine\CommonCompiler.CompilerEmitStreamProvider.cs (2)
23
private readonly
CommonCompiler
_compiler;
28
CommonCompiler
compiler,
Compilation\Compilation.cs (2)
3028
if (!options.EmitMetadataOnly &&
CommonCompiler
.HasUnsuppressedErrors(diagnostics))
3216
if (
CommonCompiler
.HasUnsuppressableErrors(diagnostics))
Microsoft.CodeAnalysis.CSharp (5)
CommandLine\CSharpCompiler.cs (1)
330
return
CommonCompiler
.TryGetCompilerDiagnosticCode(diagnosticId, "CS", out code);
Compilation\CSharpCompilation.cs (1)
3734
if (!hasDeclarationErrors && !
CommonCompiler
.HasUnsuppressableErrors(methodBodyDiagnosticBag.DiagnosticBag) && filterOpt == null)
Compilation\SyntaxAndDeclarationManager.cs (1)
266
CommonCompiler
.ToFileReadDiagnostics(messageProvider, e, resolvedFilePath),
Parser\DirectiveParser.cs (2)
335
string version =
CommonCompiler
.GetProductVersion(typeof(CSharpCompiler));
336
string assemblyPath =
CommonCompiler
.GetAssemblyLocation(typeof(CSharpCompiler));
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\CSharpReplServiceProvider.cs (1)
24
=> string.Format(CSharpScriptingResources.LogoLine1,
CommonCompiler
.GetProductVersion(typeof(CSharpReplServiceProvider)));
Microsoft.CodeAnalysis.Scripting (8)
Hosting\CommandLine\CommandLineRunner.cs (8)
29
CommonCompiler
compiler,
48
internal
CommonCompiler
Compiler { get; }
61
return
CommonCompiler
.Failed;
133
return
CommonCompiler
.Failed;
142
return
CommonCompiler
.Succeeded;
197
return new
CommonCompiler
.LoggingSourceFileResolver(arguments.SourcePaths, arguments.BaseDirectory, ImmutableArray<KeyValuePair<string, string>>.Empty, loggerOpt);
213
return
CommonCompiler
.Failed;
323
var currentSourceResolver = (
CommonCompiler
.LoggingSourceFileResolver)options.SourceResolver;
vbc (3)
src\roslyn\src\Compilers\Shared\BuildClient.cs (2)
29
internal static readonly RunCompilationResult Succeeded = new RunCompilationResult(
CommonCompiler
.Succeeded);
31
internal static readonly RunCompilationResult Failed = new RunCompilationResult(
CommonCompiler
.Failed);
src\roslyn\src\Compilers\VisualBasic\vbc\Program.cs (1)
27
return
CommonCompiler
.Failed;
VBCSCompiler (15)
src\roslyn\src\Compilers\Server\VBCSCompiler\BuildServerController.cs (8)
127
return
CommonCompiler
.Failed;
136
return
CommonCompiler
.Succeeded;
171
return success ?
CommonCompiler
.Succeeded :
CommonCompiler
.Failed;
184
return
CommonCompiler
.Failed;
189
return
CommonCompiler
.Succeeded;
201
return
CommonCompiler
.Failed;
206
return
CommonCompiler
.Succeeded;
src\roslyn\src\Compilers\Server\VBCSCompiler\CompilationCacheUtilities.cs (1)
79
return
CommonCompiler
.Succeeded;
src\roslyn\src\Compilers\Server\VBCSCompiler\CompilerRequestHandler.cs (2)
78
public bool TryCreateCompiler(in RunRequest request, BuildPaths buildPaths, [NotNullWhen(true)] out
CommonCompiler
? compiler)
135
if (!TryCreateCompiler(request, buildPaths, out
CommonCompiler
? compiler))
src\roslyn\src\Compilers\Server\VBCSCompiler\VBCSCompiler.cs (2)
19
return
CommonCompiler
.Failed;
39
return
CommonCompiler
.Failed;
src\roslyn\src\Compilers\Shared\BuildClient.cs (2)
29
internal static readonly RunCompilationResult Succeeded = new RunCompilationResult(
CommonCompiler
.Succeeded);
31
internal static readonly RunCompilationResult Failed = new RunCompilationResult(
CommonCompiler
.Failed);