Skip to content

Code fix to add 'readonly' to an existing member #34648

@RikkiGibson

Description

@RikkiGibson

Possible scenarios where should be suggested:

  • Declaration of a non-readonly method where the IDE determines that adding 'readonly' would be legal.
  • Call site where the receiver is ref readonly and adding 'readonly' to the member would be legal.

Metadata

Metadata

Assignees

Labels

Area-IDEFeature RequestIDE-CodeStyleBuilt-in analyzers, fixes, and refactoringshelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

Type

No type

Projects

Status

Complete

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions