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