src/Common/WellKnown/WellKnownTypeProvider.cs
Method ValueFactory
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
[SuppressMessage("Design", "MA0051:Method is too long", Justification = "Forked from upstream. Avoiding refactoring to reduce divergence.")]
INamedTypeSymbol? ValueFactory(string fullyQualifiedMetadataName, string fullTypeName)
{
// Caching null results is intended.
Method IsIdentifierPartCharacter
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
private static bool IsIdentifierPartCharacter(char ch)
{
// identifier-part-character:
// letter-character
// decimal-digit-character
Avoid too many return
statements within this method. Wontfix
Wontfix
return cat switch
Unexpected tabs found. Invalid
Invalid
// Forked from https://github.com/dotnet/roslyn-analyzers/blob/5dd0dd5db8fa79932517f153854c0f2c24ac98a3/src/Utilities/Compiler/WellKnownTypeProvider.cs
- Exclude checks