-
Notifications
You must be signed in to change notification settings - Fork 831
Generate IsReadOnlyAttribute on unsupported platforms. #14724
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
Conversation
TIHan
left a comment
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.
It looks good to me so far
a04d842 to
60af412
Compare
tests/FSharp.Compiler.ComponentTests/EmittedIL/Structure/FloatsAndDoubles.fs.il.debug.bsl
Outdated
Show resolved
Hide resolved
...omponentTests/EmittedIL/CompiledNameAttribute/CompiledNameAttribute04.fs.il.net472.debug.bsl
Outdated
Show resolved
Hide resolved
...omponentTests/EmittedIL/CompiledNameAttribute/CompiledNameAttribute04.fs.il.net472.debug.bsl
Outdated
Show resolved
Hide resolved
tests/FSharp.Compiler.ComponentTests/EmittedIL/Inlining/Match01.fs.il.debug.bsl
Outdated
Show resolved
Hide resolved
...mponentTests/EmittedIL/CompiledNameAttribute/CompiledNameAttribute04.fs.il.netcore.debug.bsl
Outdated
Show resolved
Hide resolved
a88c3d9 to
e1f168b
Compare
|
Does this play well with parallel ilxgen? I presume yes, but just wanted to make sure. |
I would expect so. The embedded typedefs are accumulated in a concurrent collection. |
84684e3 to
2917555
Compare
dd3872b to
a5f990f
Compare
We recently encountered issues with IsReadOnlyAttribute on unsupported platforms
This PR, will generate one when the targeted platform does not support IsReadOnlyAttribute ... particularly netstandard2.0
Todo:
Right now I just want to see what tests are broken by this change.