-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Mono: ConstructorInfo.ToString () returns unexpected format #36688
Comments
@rolfbjarne I am actually getting |
@alexischr Sorry I wasn't clear in the description, but the problem occurs with .NET 5, not current stable XI. |
I did something wrong the first time I checked this under a default desktop build and must have run CoreCLR on my sample - The behavior is actually reproducible on the desktop when using a Mono build. So this is a more general bug. |
Use CoreCLR's code. Fixes dotnet#36688
* [mono] Improve RuntimeConstructorInfo.ToString Use CoreCLR's code. Fixes #36688 * Use CoreCLR's code for RuntimeMethodInfo too
Example:
Actual result:
Expected result (output when using mono or a dotnet console app):
The text was updated successfully, but these errors were encountered: