Closed konrad-gora closed 8 months ago
@konrad-gora Yes, I'm also having the same issue with ref
and in
too. Looks like the out
, ref
, and in
are not implemented yet in the source generator.
@ChristianSauer A quick fix/implementation could be perhaps checking RefKind on IParameterSymbol
in Builder class. i.e. I gave it a try here and it worked.
https://github.com/mohummedibrahim/net_automatic_interface/commit/1613ad1b371d0dd727ce09eaf32d8866f56e0054
Should be in 2.3.0
I can just confirm that it is working now :)
This is my class:
This is the generated interface:
The
out
keyword is missing in the interface. Because of that, I'm getting a compilation error: CS0535 'SomeClass' does not implement interface member 'ISomeClass.SomeMethod(int)'