-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Updating Complex to implement INumberBase and ISignedNumber #68612
Conversation
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
Tagging subscribers to this area: @dotnet/area-system-numerics Issue Detailsnull
|
@marek-safar, @agocke, @davidwrighton This is likely going to fail. I'm getting the following locally:
In
In
There is no copy of It's not clear if this is some trimming issue or VM metadata issue or something else. I'd likely lean towards the latter based on the assemblies I'm seeing having the relevant members defined, but this is problematic and blocking the PR. |
There isn't really anything special about |
I can look at the trimmed DLL and see if it's missing anything if you can share it out |
VS reports the test is loading the assembly from Binary is here: System.Runtime.Numerics.dll.zip But I have no clue if there is potentially something else missing as well. |
CC. @trylek as well, since this may be a VM issue |
Might be missing a methodimpl here, + @jtschuster. I have to grab the pre-trimmed binary to be sure. |
Here's the obj folder (just for Contains both the trimmed and pre-trimmed output (the latter in the |
Yup, MethodImpl is being dropped. This is a linker bug. |
Thanks much for looking! |
Yes, this is "expected" as linker work has not been completed. Tracking issue is dotnet/linker#2058 |
This is ready for review now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
src/libraries/System.Runtime.Numerics/src/System/Numerics/Complex.cs
Outdated
Show resolved
Hide resolved
…lex.cs Co-authored-by: Drew Kersnar <[email protected]>
No description provided.