dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
18.92k stars 4.02k forks source link

Port UseAutoPropertyCodeFixProvider to shared layer #43091

Open mavasani opened 4 years ago

mavasani commented 4 years ago

This code fixer is currently using internal Rename APIs, which prevents porting it to shared layer (no IVTs to Workspaces/Features assemblies).https://github.com/dotnet/roslyn/blob/efa5d6479b4220f79c5ee187c6b2a0c48f73c16a/src/Features/Core/Portable/UseAutoProperty/AbstractUseAutoPropertyCodeFixProvider.cs#L88-L96

CyrusNajmabadi commented 4 years ago

I'm working on this now. I'll have a proposal on Monday. Please avoid moving any of the features which use rename or find refs. Thanks!