Skip to content

IsReadOnlyAttribute is emitted even if coming from non-runtime reference #14700

@vzarytovskii

Description

@vzarytovskii
          Ok, it seems is is a separate bug, since System.Collections.Immutable inludes its own `IsReadOnlyAttribute`:

image
And we are checking it only by namespace, we decide to emit it but not generate attribute.

I will revert generating it altogether, until proper fix is in place (with codegen).

Originally posted by @vzarytovskii in #14276 (comment)

Metadata

Metadata

Assignees

Labels

Impact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.Regression

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions