Downgrade target Roslyn version in analyzers

Closes #135
This commit is contained in:
Tyrrrz
2023-04-28 17:02:50 +03:00
parent eff84fd7ae
commit 83c7af72bf
12 changed files with 24 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ public class OptionMustBeRequiredIfPropertyRequiredAnalyzer : AnalyzerBase
if (property.ContainingType is null)
return;
if (!property.IsRequired)
if (!property.IsRequired())
return;
var option = CommandOptionSymbol.TryResolve(property);