private static void ReportAt(SymbolAnalysisContext context, [NotNull] ISymbol symbol)
        {
            Accessibility accessibility = symbol is IParameterSymbol parameterSymbol
                ? parameterSymbol.ContainingSymbol.DeclaredAccessibility
                : symbol.DeclaredAccessibility;

            context.ReportDiagnostic(Diagnostic.Create(Rule, symbol.Locations[0], accessibility.ToText().ToLowerInvariant(),
                                                       symbol.GetKind().ToLowerInvariant(), symbol.Name));
        }