We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa018b0 commit 4560320Copy full SHA for 4560320
Rubberduck.Parsing/Symbols/Declaration.cs
@@ -308,6 +308,13 @@ public bool IsEnumeratorMember
308
309
public bool IsInspectionDisabled(string inspectionName)
310
{
311
+ if (DeclarationType == DeclarationType.Parameter)
312
+ {
313
+ return ParentDeclaration.Annotations.Any(annotation =>
314
+ annotation.AnnotationType == AnnotationType.Ignore
315
+ && ((IgnoreAnnotation)annotation).IsIgnored(inspectionName));
316
+ }
317
+
318
return Annotations.Any(annotation =>
319
annotation.AnnotationType == AnnotationType.Ignore
320
&& ((IgnoreAnnotation)annotation).IsIgnored(inspectionName));
0 commit comments