Simplify Nullable<T>.HasValue
ProprietaryReplace x.HasValue with x != null and !x.HasValue with x == null.
OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. SimplifyNullableHasValuemod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. SimplifyNullableHasValueInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.