src/Common/ISymbolExtensions.cs
Method GetResultantVisibility
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
public static SymbolVisibility GetResultantVisibility(this ISymbol symbol)
{
// Start by assuming it's visible.
SymbolVisibility visibility = SymbolVisibility.Public;
Expected an indentation at 16 instead of at 15. Open
Open
|| type.StartsWith("System.Threading.Tasks.Task<", StringComparison.Ordinal)
- Exclude checks
Expected an indentation at 16 instead of at 15. Open
Open
|| string.Equals(type, "System.Threading.ValueTask", StringComparison.Ordinal)
- Exclude checks
Unexpected tabs found. Open
Open
using System.Runtime.CompilerServices;
- Exclude checks
Expected an indentation at 16 instead of at 15. Open
Open
|| (type.StartsWith("System.Threading.Tasks.ValueTask<", StringComparison.Ordinal)
- Exclude checks
Expected an indentation at 20 instead of at 19. Open
Open
&& type.EndsWith(".Result", StringComparison.Ordinal));
- Exclude checks