You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 a ref struct instead.
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.
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: