-
Notifications
You must be signed in to change notification settings - Fork 480
Open
Labels
Area-Microsoft.CodeAnalysis.PublicApiAnalyzersFeature Requesthelp wantedThe issue is up-for-grabs, and can be claimed by commentingThe issue is up-for-grabs, and can be claimed by commenting
Milestone
Description
This is a feature request.
In thinking about how we can better represent API in dotnet/runtime while removing our custom tools and leveraging roslyn features we have found that it would be convenient to have this analyzer support C# files.
- We already represent API in C# files and it's most convenient for reviewers to view it this way.
- Some of our assemblies have differing assembly locations for ref vs def. We'd like to represent the API in a single C# file and implement it with mix of typeforwards and defs. By having this analyzer accept C# we could have it serve both purposes of building our reference assembly (which cannot use /refout, due to differing type locations) and performing our compatibility check.
- Presumably this feature would enable the analyzer or separate tool to emit C# which could eliminate the need to maintain our GenAPI tool.
adamralphViktorHofer, safern, nkolev92 and zivkan
Metadata
Metadata
Assignees
Labels
Area-Microsoft.CodeAnalysis.PublicApiAnalyzersFeature Requesthelp wantedThe issue is up-for-grabs, and can be claimed by commentingThe issue is up-for-grabs, and can be claimed by commenting