4 references to Method
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
Rpc\RpcServer.cs (4)
114
var method = rpcTarget.GetType().GetMethod(request.
Method
, BindingFlags.Public | BindingFlags.Instance);
116
Contract.ThrowIfNull(method, $"The invoked method '{request.
Method
}' could not be found.");
123
Contract.ThrowIfFalse(request.Parameters.Length == methodParameters.Length - 1, $"The arguments list should contain every parameter for {request.
Method
} except the final CancellationToken.");
125
Contract.ThrowIfFalse(request.Parameters.Length == methodParameters.Length, $"The arguments list should contain every parameter for {request.
Method
}.");