Skip to content

Commit

Permalink
Remove delegate and enum - not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
costin-zaharia-sonarsource committed Nov 22, 2021
1 parent c3bb22f commit 7920cbd
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ private static bool IsTopLevelProgram(ISymbol symbol) =>
private static bool IsType(ITypeSymbol namedType) =>
namedType.TypeKind == TypeKind.Struct
|| namedType.TypeKind == TypeKind.Class
|| namedType.TypeKind == TypeKind.Delegate
|| namedType.TypeKind == TypeKind.Enum
|| namedType.TypeKind == TypeKind.Interface;

private static IEnumerable<Diagnostic> GetDiagnosticsForUnusedPrivateMembers(CSharpSymbolUsageCollector usageCollector,
Expand Down

0 comments on commit 7920cbd

Please sign in to comment.