Rubberduck.Parsing.Symbols.IdentifierReference.IsInspectionDisabled C# (CSharp) Method

IsInspectionDisabled() public method

public IsInspectionDisabled ( string inspectionName ) : bool
inspectionName string
return bool
        public bool IsInspectionDisabled(string inspectionName)
        {
            return Annotations.Any(annotation =>
                annotation.AnnotationType == AnnotationType.Ignore
                && ((IgnoreAnnotation)annotation).IsIgnored(inspectionName));
        }