Sven Hübner
Sven Hübner
I glad to hear it. Yes, I would like a crack at it. But as you can tell from the crawling pace on the other issue over at XmlSchemaClassGenerator, I...
I was not implying it should be part of this project, one reason being the aforementioned boxing costs. My suggestion just meant to test the waters if a lot of...
No, you are not :-) Without the analyzer, switch statements and switch expressions on `OneOf.Value` get CS8509 and either IDE0010 or IDE0072, even if they match on all T1, T2...
@mcintyre321 I do not know what you mean by "protected". The compiler behavior with the suppressor is strictly superior to the behavior without. If it is shipped with the same...
I do want to do it anyway for fun and bragging rights 😉 This proposal was mainly to find out if it is going to be used or not. A...
This thread is not dead, I just have very little time :-) As a teaser, I finally got around to publishing a diagnostic suppressor that works well for closed type...
@julealgon Thanks for the feedback. I find the type inference for native `switch` to be much better, too. @mcintyre321 I finally understand now what you meant by > I'm still...
Alright, I slapped together a basic diagnostic suppressor for `OneOf`: ```csproj ``` Repository at https://github.com/shuebner/OneOfDiagnosticSuppressor. Please let me know what you think, if it's worth it, bugs you find and...
@julealgon Not on the analyzer level. If it were possible it would at a minimum be a significant change in how the compiler generates IL from `switch`es. `switch` is a...
I observed the error also with only one TFM. It is not limited to projects that are multi-targeting. I confirm the observation that it breaks on 6.0.300.