Fix BHI3300 being raised twice for offending accessors

This commit is contained in:
YoshiRulz 2024-07-02 05:32:19 +10:00
parent 4d1e852d2d
commit 867b560a1d
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 2 additions and 0 deletions

View File

@ -88,7 +88,9 @@ public sealed class FeatureNotImplementedAnalyzer : DiagnosticAnalyzer
else
{
if (IncludesFNIAttribute(pds.AttributeLists)) Wat(pds.GetLocation());
#if false // accessors will be checked separately
else foreach (var accessor in pds.AccessorList!.Accessors) CheckAccessor(accessor);
#endif
}
break;
}

Binary file not shown.