11 instantiations of RejectedBuildResponse
VBCSCompiler (10)
src\Compilers\Server\VBCSCompiler\ClientConnectionHandler.cs (3)
80new RejectedBuildResponse("Compilation not allowed at this time"), 90new RejectedBuildResponse("Not enough resources to accept connection"), 142response = new RejectedBuildResponse($"Exception during compilation: {ex.Message}");
src\Compilers\Server\VBCSCompiler\CompilerRequestHandler.cs (3)
120return new RejectedBuildResponse(message); 129return new RejectedBuildResponse(message); 137return new RejectedBuildResponse(message);
src\Compilers\Shared\BuildProtocol.cs (1)
507return new RejectedBuildResponse(reason);
src\Compilers\Shared\BuildServerConnection.cs (3)
289return new RejectedBuildResponse($"Error writing build request: {e.Message}"); 314response = new RejectedBuildResponse($"Error reading response: {e.Message}"); 320response = new RejectedBuildResponse($"Client disconnected");
VBCSCompiler.UnitTests (1)
BuildClientTests.cs (1)
181return Task.FromResult<BuildResponse>(new RejectedBuildResponse(""));
5 references to RejectedBuildResponse
VBCSCompiler (3)
src\Compilers\Server\VBCSCompiler\ClientConnectionHandler.cs (1)
103RejectedBuildResponse r => $"Writing {r.Type} response '{r.Reason}' for {requestId}",
src\Compilers\Shared\BuildProtocol.cs (2)
351return RejectedBuildResponse.Create(reader); 503public static RejectedBuildResponse Create(BinaryReader reader)
VBCSCompiler.UnitTests (2)
ClientConnectionHandlerTests.cs (1)
108Assert.True(response is RejectedBuildResponse);
VBCSCompilerServerTests.cs (1)
379Assert.True(response is RejectedBuildResponse);