Skip to content

Roslyn doesn't run rename on source generated documents #11831

Open
@davidwengier

Description

@davidwengier

There are explicit if (document is SourceGeneratedDocument) checks in Roslyn that just cause rename to no-op on those documents. We need to find all of them, and surgically replace them with some kind of "if-source-generated-but-not-Razor" check.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions