16 references to CompilationKind
Microsoft.Build.Tasks.CodeAnalysis (16)
ManagedCompiler.cs (16)
529LogCompilationMessage(logger, requestId, CompilationKind.Tool, $"using command line tool by design '{pathToTool}'");
540LogCompilationMessage(logger, requestId, CompilationKind.Tool, $"using command line tool because we could not find client or temp directory '{PathToManagedTool}'");
677LogCompilationMessage(logger, requestId, CompilationKind.ToolFallback, "could not launch server");
686LogCompilationMessage(logger, requestId, CompilationKind.Server, "server processed compilation");
690LogCompilationMessage(logger, requestId, CompilationKind.FatalError, "server reports different protocol version than build task");
694LogCompilationMessage(logger, requestId, CompilationKind.FatalError, "server reports different hash version than build task");
698LogCompilationMessage(logger, requestId, CompilationKind.ToolFallback, $"cannot connect to the server");
703LogCompilationMessage(logger, requestId, CompilationKind.ToolFallback, $"server rejected the request '{rejectedResponse.Reason}'");
709LogCompilationMessage(logger, requestId, CompilationKind.ToolFallback, $"server rejected the request due to analyzer / generator issues '{combinedMessage}'");
713LogCompilationMessage(logger, requestId, CompilationKind.ToolFallback, $"server gave an unrecognized response");
794private void LogCompilationMessage(ICompilerServerLogger logger, string requestId, CompilationKind kind, string diagnostic)
798CompilationKind.Server => "server",
799CompilationKind.Tool => "tool",
800CompilationKind.ToolFallback => "server failed",
801CompilationKind.FatalError => "fatal error",
806if (kind == CompilationKind.FatalError)