We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
unsafe
Input:
using unsafe NvapiQueryInterface = delegate* unmanaged[Cdecl]<uint, nint>;
Output:
using NvapiQueryInterface = delegate* unmanaged[Cdecl]<uint, nint>;
Expected behavior:
unsafe keyword should have been preserved, as removing it leads to a compilation error:
Pointers and fixed size buffers may only be used in an unsafe context (CS0214)
CSharpier version is 0.30.3, and it reports Error ./Program.cs - Failed syntax tree validation. when ran from the CLI.
Error ./Program.cs - Failed syntax tree validation.
The text was updated successfully, but these errors were encountered:
Fixing issue with losing unsafe keyword on using statement
35f743c
closes #1416
3b88bee
Thanks for the report! I'll cut a release for this now, it should be out shortly.
Sorry, something went wrong.
That was blazingly fast, thank you! ❤️
Successfully merging a pull request may close this issue.
Input:
Output:
Expected behavior:
unsafe
keyword should have been preserved, as removing it leads to a compilation error:CSharpier version is 0.30.3, and it reports
Error ./Program.cs - Failed syntax tree validation.
when ran from the CLI.The text was updated successfully, but these errors were encountered: