1 write to Parameters
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Rpc\RpcClient.cs (1)
158
Parameters
= [.. parameters.Select(static p => JsonSerializer.SerializeToElement(p, JsonSettings.SingleLineSerializerOptions))]
6 references to Parameters
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
Rpc\RpcServer.cs (3)
131
Contract.ThrowIfFalse(request.
Parameters
.Length == methodParameters.Length - 1, $"The arguments list should contain every parameter for {request.Method} except the final CancellationToken.");
133
Contract.ThrowIfFalse(request.
Parameters
.Length == methodParameters.Length, $"The arguments list should contain every parameter for {request.Method}.");
142
arguments[i] = request.
Parameters
[i].Deserialize(methodParameters[i].ParameterType, JsonSettings.SingleLineSerializerOptions);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (3)
src\Workspaces\MSBuild\BuildHost\Rpc\RpcServer.cs (3)
131
Contract.ThrowIfFalse(request.
Parameters
.Length == methodParameters.Length - 1, $"The arguments list should contain every parameter for {request.Method} except the final CancellationToken.");
133
Contract.ThrowIfFalse(request.
Parameters
.Length == methodParameters.Length, $"The arguments list should contain every parameter for {request.Method}.");
142
arguments[i] = request.
Parameters
[i].Deserialize(methodParameters[i].ParameterType, JsonSettings.SingleLineSerializerOptions);