7 types derived from BuildResponse
VBCSCompiler (7)
src\Compilers\Core\CommandLine\BuildProtocol.cs (7)
373
internal sealed class CompletedBuildResponse :
BuildResponse
406
internal sealed class ShutdownBuildResponse :
BuildResponse
429
file sealed class MismatchedVersionBuildResponse :
BuildResponse
439
internal sealed class IncorrectHashBuildResponse :
BuildResponse
449
internal sealed class AnalyzerInconsistencyBuildResponse :
BuildResponse
485
internal sealed class RejectedBuildResponse :
BuildResponse
512
internal sealed class CannotConnectResponse :
BuildResponse
26 references to BuildResponse
VBCSCompiler (26)
src\Compilers\Core\CommandLine\BuildProtocol.cs (1)
318
public static async Task<
BuildResponse
> ReadAsync(Stream stream, CancellationToken cancellationToken = default(CancellationToken))
src\Compilers\Server\VBCSCompiler\ClientConnectionHandler.cs (6)
99
private async Task<CompletionData> WriteBuildResponseAsync(IClientConnection clientConnection, string requestId,
BuildResponse
response, CompletionData completionData, CancellationToken cancellationToken)
124
BuildResponse
response;
163
static Task<
BuildResponse
> ProcessCompilationRequestCoreAsync(ICompilerServerHost compilerServerHost, BuildRequest buildRequest, CancellationToken cancellationToken)
165
Func<
BuildResponse
> func = () =>
168
var
response = compilerServerHost.RunCompilation(request, cancellationToken);
172
var task = new Task<
BuildResponse
>(func, cancellationToken, TaskCreationOptions.LongRunning);
src\Compilers\Server\VBCSCompiler\CompilerRequestHandler.cs (1)
106
public
BuildResponse
RunCompilation(in RunRequest request, CancellationToken cancellationToken)
src\Compilers\Server\VBCSCompiler\IClientConnection.cs (2)
28
/// Write a <see cref="
BuildResponse
" /> to the client
30
Task WriteBuildResponseAsync(
BuildResponse
response, CancellationToken cancellationToken);
src\Compilers\Server\VBCSCompiler\ICompilerServerHost.cs (1)
20
BuildResponse
RunCompilation(in RunRequest request, CancellationToken cancellationToken);
src\Compilers\Server\VBCSCompiler\NamedPipeClientConnection.cs (1)
87
public Task WriteBuildResponseAsync(
BuildResponse
response, CancellationToken cancellationToken) => response.WriteAsync(Stream, cancellationToken);
src\Compilers\Shared\BuildClient.cs (8)
25
internal delegate Task<
BuildResponse
> CompileOnServerFunc(BuildRequest buildRequest, string pipeName, CancellationToken cancellationToken);
213
BuildResponse
buildResponse;
254
case
BuildResponse
.ResponseType.Completed:
264
case
BuildResponse
.ResponseType.MismatchedVersion:
265
case
BuildResponse
.ResponseType.IncorrectHash:
266
case
BuildResponse
.ResponseType.Rejected:
267
case
BuildResponse
.ResponseType.AnalyzerInconsistency:
268
case
BuildResponse
.ResponseType.CannotConnect:
src\Compilers\Shared\BuildServerConnection.cs (6)
108
var
response = await RunServerBuildRequestAsync(
157
internal static Task<
BuildResponse
> RunServerBuildRequestAsync(
171
internal static async Task<
BuildResponse
> RunServerBuildRequestAsync(
277
static async Task<
BuildResponse
> tryRunRequestAsync(
300
var responseTask =
BuildResponse
.ReadAsync(pipeStream, serverCts.Token);
306
BuildResponse
response;