Fix BHI3300 being raised twice for offending accessors
This commit is contained in:
parent
4d1e852d2d
commit
867b560a1d
|
@ -88,7 +88,9 @@ public sealed class FeatureNotImplementedAnalyzer : DiagnosticAnalyzer
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (IncludesFNIAttribute(pds.AttributeLists)) Wat(pds.GetLocation());
|
if (IncludesFNIAttribute(pds.AttributeLists)) Wat(pds.GetLocation());
|
||||||
|
#if false // accessors will be checked separately
|
||||||
else foreach (var accessor in pds.AccessorList!.Accessors) CheckAccessor(accessor);
|
else foreach (var accessor in pds.AccessorList!.Accessors) CheckAccessor(accessor);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue