Jeff Walker
Jeff Walker
I want to second this. In particular, if one isn't scaling down because it has already reached its minimum, then that should never block the scale down of the other.
A similar case applies even when the subclasses are not nested classes, but all the constructors of the base class are `private` or `private protected`.
I haven't been able to reproduce this yet. I first tried changing my examples project (which references ExhaustiveMatching.Analyzer v0.4.0) to multi-target different frameworks including 4.7.1 using `netstandard2.0;netcoreapp2.0;netcoreapp3.0;netcoreapp3.1;net461;net472;net48`. That change is...
You can try the new v0.5.0 version. I removed a package reference, but I doubt it will fix this. I'd like to fix this. Please provide a sample project that...
Thanks for the reproduction. I can see the warning now. Interestingly, it doesn't get reported through Visual Studio, only the command line. When you are getting that warning, it means...
I've decided on a plan for how to handle analyzer version compatibility and documented it in the [Versioning and Compatibility](https://github.com/WalkerCodeRanger/ExhaustiveMatching#versioning-and-compatibility) section of the readme. Once this is actually implemented I...
The library already supports exhaustive matching when throwing `InvalidEnumArgumentException` which inherits from `ArgumentOutOfRangeException`. It might be possible to split that functionality into a separate analyzer that doesn't add the dependency...
I've decided on a plan for handling dependency-free builds. It is mostly described in the [Packages and Downloading](https://github.com/WalkerCodeRanger/ExhaustiveMatching#packages-and-downloading) and [Dependency Free Usage](https://github.com/WalkerCodeRanger/ExhaustiveMatching#dependency-free-usage) sections of the readme. Additionally, I plan to...
I think this is a good idea and should probably be implemented in concert with #27 "Support C# 8 Nullable Reference Types" to make sure that it plays well with...
``` System.NullReferenceException: Object reference not set to an instance of an object. at ExhaustiveMatching.Analyzer.TypeSymbolExtensions.GetFullName(ISymbol symbol) at ExhaustiveMatching.Analyzer.SwitchStatementAnalyzer.GetTypeSymbolMatched(SyntaxNodeAnalysisContext context, ITypeSymbol type, CasePatternSwitchLabelSyntax casePattern, HashSet`1 allCases, Boolean isClosed) at ExhaustiveMatching.Analyzer.SwitchStatementAnalyzer.c__DisplayClass3_0.b__1(CasePatternSwitchLabelSyntax casePattern) at...