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

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)