-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Support by-ref types #894
Comments
siegfriedpammer
added a commit
that referenced
this issue
Mar 4, 2018
…ts to ref and readonly modifiers, respectively. Remove ObsoleteAttribute.
Closing this, because support for the attributes was added long ago. #829 will be updated accordingly as soon as we've achieved test coverage and support for most use-cases. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The new
ref struct
feature in C# 7.2 results in several attributes applying to the compiled code. ILSpy should be updated to recognize these attributes and decompile the code to aref struct
instead.As seen in dotnet/roslyn#22453, these attributes are:
IsByRefLikeAttribute
(applies for allref struct
)IsReadOnlyAttribute
(applies forreadonly ref struct
)ObsoleteAttribute
(emitted with the specific message hard-coded)Let me know if you have any questions about this 😄
The text was updated successfully, but these errors were encountered: