New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting a StreamJsonRpc.RemoteInvocationException when invoking a server->client RPC on Mono. #387
Comments
I am pleased to say this reproduces on Windows with the mono runtime as well. |
Mono is struggling to run our unit tests for a variety of reasons. For just our |
I found an even smaller repro for your project. I've sent a PR. But really it's just this: static void Main(string[] args)
{
var m = typeof(Program).GetMethod(nameof(Foo), BindingFlags.Static | BindingFlags.NonPublic);
ParameterInfo[] a = m.GetParameters();
Span<ParameterInfo> s = a.AsSpan(0, 0); // a's runtime type is RuntimeParameterInfo[]
}
static void Foo() { } |
I filed mono/mono#17993 to track the defect on mono |
I also filed mono/mono#17994 to track the only other defect on mono that I found. |
Minimal source code that reproduces this error: https://github.com/ILikePizza555/StreamJsonRPCTest
This happens on MacOS on the latest version of Mono (6.4.0.198).
Output of the project is
Obviously, the expected behavior is to not have the exception. The fact that the application does not print out
Entered DictionaryDataCallback
indicates that this exception is thrown before the method is called.The text was updated successfully, but these errors were encountered: