Skip to content

Conversation

@KevinRansom
Copy link
Contributor

Compilations where an IsReadOnlyAttribute is provided in source code fails due to an embedded IsReadOnlyAttribute.

Fix #15313

This fixes the issue by: filtering out and not embedding attributes which are provided in source code.

@KevinRansom KevinRansom requested a review from a team as a code owner June 5, 2023 21:14
@abonie abonie merged commit 50a5b90 into dotnet:main Jun 6, 2023
T-Gro pushed a commit that referenced this pull request Jun 6, 2023
* Fix #15313 - The compiler automatically generates an IsReadOnlyAttribute on downlevel frameworks even if we have already defined it. (#15316)


---------

Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
@KevinRansom KevinRansom deleted the readonlyattribute branch March 21, 2024 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

The compiler automatically generates an IsReadOnlyAttribute on downlevel frameworks even if we have already defined it.

4 participants