maca88 / AsyncGenerator

Generating async c# code using Roslyn
MIT License
47 stars 16 forks source link

Omit init properties #169

Closed gliljas closed 2 years ago

gliljas commented 2 years ago

Fixes #168

Not being fully versed in this code base, I just made a crude but working "skip this if it's not a standard setter".

Had to change LangVersion in the test project. Maybe that's an issue?

hazzik commented 2 years ago

TypeConversion.NewType will likely fail or produce incorrect results with this approach.

gliljas commented 2 years ago

Yeah, I'll give it another go tomorrow.

maca88 commented 2 years ago

Thanks for the pull request @gliljas!

TypeConversion.NewType will likely fail or produce incorrect results with this approach

Added a test for it.