net_automatic_interface icon indicating copy to clipboard operation
net_automatic_interface copied to clipboard

.Net Source Generator for Automatic Interfaces

Results 25 net_automatic_interface issues
Sort by recently updated
recently updated
newest added

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...

To facilitate API design for assemblies, [GenerateAutomaticInterface] should take `internal` visibility into account. The interface can be useful for dependency injection without necessarily being part of the public API of...

The generator is randomly crashing with the error below: ``` Generator 'AutomaticInterfaceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a...

question

I'm using the `initial` keyword in some of my properties to limit the setting of them. This generator replaces `initial` with `set`, which is not the desired behaviour Code: ```cs...

to use this package we need to create the GenerateAutomaticInterface attribute manually. Could this attribute be generated, like interfaces? This package https://github.com/daver32/InterfaceGenerator (inspired by yours) generates the attribute.

enhancement

Generating interfaces is useful for internally used classes too, which are not part of the interface of a compilation unit. I'd prefer using the same accessibility for the interface as...

enhancement

Hi @ChristianSauer, thanks for building this amazing source generator library. I'm wondering if it would be possible to split the generator project and separate the interface-building functionality on its own?...

enhancement
help wanted

It would be nice if we could customize the name of the generated interface.

enhancement
good first issue

When two classes inherit from each other, it would be nice if the interfaces did also. ```cs [GenerateAutomaticInterface] public class Parent : IParent { public void ParentMethod() { } }...

enhancement
wontfix