You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One way to do this might be to remove the Simplifier.Annotation from specific SyntaxNodes using SyntaxNode.WithoutAnnotations. We'd want to be careful to not do that everywhere since it would prevent simplification to keyword of things like int, double, etc.
I wonder how much we really care about the full names? I suspect we used fullnames everywhere before because GenAPI was trying to be conservative and ensure that it produced code that would compile. Roslyn is smarter and so long as it produces correct source, it might be a feature that it's more succinct.
@andriipatsula@ViktorHofer do you know why we wanted full names here? Was it just to create a smaller diff?
sdk/src/GenAPI/Microsoft.DotNet.GenAPI/CSharpFileBuilder.cs
Line 83 in 9ffab85
The
Simplifier
by default "simplify" namespaces and type names. We'd like the GenAPI to produce fully qualified type names.The text was updated successfully, but these errors were encountered: