net_automatic_interface icon indicating copy to clipboard operation
net_automatic_interface copied to clipboard

Generate GenerateAutomaticInterfaceAttribute

Open crwsolutions opened this issue 1 year ago • 0 comments

Generate GenerateAutomaticInterfaceAttribute instead of asking that of the user.

See cookbook: https://github.com/dotnet/roslyn/blob/main/docs/features/incremental-generators.cookbook.md#generated-class

If you're feeling adventurous, it is possible to remove the namespace from the generated attribute (so remove 'namespace AutomaticInterface'). That would give even more convenience. Given the name of the attribute I think there is very little change of type conflicts.

crwsolutions avatar Apr 16 '24 09:04 crwsolutions