3 instantiations of BuildRequest
VBCSCompiler (3)
src\Compilers\Core\CommandLine\BuildProtocol.cs (3)
107
return new
BuildRequest
(language, compilerHash, requestArgs, requestId);
113
return new
BuildRequest
(RequestLanguage.CSharpCompile, GetCommitHash() ?? "", requestArgs);
149
return new
BuildRequest
(language,
28 references to BuildRequest
VBCSCompiler (28)
src\Compilers\Core\CommandLine\BuildProtocol.cs (7)
74
public static
BuildRequest
Create(RequestLanguage language,
110
public static
BuildRequest
CreateShutdown()
122
public static async Task<
BuildRequest
> ReadAsync(Stream inStream, CancellationToken cancellationToken)
146
argumentsBuilder.Add(
BuildRequest
.Argument.ReadFromBinaryReader(reader));
483
/// The <see cref="
BuildRequest
"/> was rejected by the server.
589
/// Reads the value of <see cref="CommitHashAttribute.Hash"/> of the assembly <see cref="
BuildRequest
"/> is defined in
594
var hashAttributes = typeof(
BuildRequest
).Assembly.GetCustomAttributes<CommitHashAttribute>();
src\Compilers\Server\VBCSCompiler\BuildProtocolUtil.cs (3)
18
internal static RunRequest GetRunRequest(
BuildRequest
req)
38
internal static string[] GetCommandLineArguments(
BuildRequest
req, out string? currentDirectory, out string? tempDirectory, out string? libDirectory)
45
foreach (
BuildRequest
.Argument arg in req.Arguments)
src\Compilers\Server\VBCSCompiler\ClientConnectionHandler.cs (4)
52
var
request = await clientConnection.ReadBuildRequestAsync(cancellationToken).ConfigureAwait(false);
111
private async Task<CompletionData> ProcessCompilationRequestAsync(IClientConnection clientConnection,
BuildRequest
request, CancellationToken cancellationToken)
163
static Task<BuildResponse> ProcessCompilationRequestCoreAsync(ICompilerServerHost compilerServerHost,
BuildRequest
buildRequest, CancellationToken cancellationToken)
182
private static TimeSpan? CheckForNewKeepAlive(
BuildRequest
request)
src\Compilers\Server\VBCSCompiler\IClientConnection.cs (2)
23
/// Read a <see cref="
BuildRequest
" /> from the client
25
Task<
BuildRequest
> ReadBuildRequestAsync(CancellationToken cancellationToken);
src\Compilers\Server\VBCSCompiler\NamedPipeClientConnection.cs (3)
54
public async Task<
BuildRequest
> ReadBuildRequestAsync(CancellationToken cancellationToken)
56
var
request = await
BuildRequest
.ReadAsync(Stream, cancellationToken).ConfigureAwait(false);
src\Compilers\Shared\BuildClient.cs (2)
25
internal delegate Task<BuildResponse> CompileOnServerFunc(
BuildRequest
buildRequest, string pipeName, CancellationToken cancellationToken);
223
var
buildRequest = BuildServerConnection.CreateBuildRequest(
src\Compilers\Shared\BuildServerConnection.cs (7)
59
internal static
BuildRequest
CreateBuildRequest(
70
return
BuildRequest
.Create(
104
var
request =
BuildRequest
.CreateShutdown();
158
BuildRequest
buildRequest,
172
BuildRequest
buildRequest,
279
BuildRequest
request,