2 instantiations of Response
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
src\Workspaces\MSBuild\BuildHost\Rpc\RpcServer.cs (2)
158
response = new
Response
{ Id = request.Id, Value = result is not null ? JsonSerializer.SerializeToElement(result, JsonSettings.SingleLineSerializerOptions) : null };
165
response = new
Response
{ Id = request.Id, Exception = $"An exception of type {e.GetType()} was thrown: {e.Message}" };
3 references to Response
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
Rpc\RpcClient.cs (2)
59
Response
? response;
62
response = JsonSerializer.Deserialize<
Response
>(line, JsonSettings.SingleLineSerializerOptions);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
src\Workspaces\MSBuild\BuildHost\Rpc\RpcServer.cs (1)
105
Response
response;