diff --git a/Source/Moq.Analyzers/MoqSetupMethodDescriptor.cs b/Source/Moq.Analyzers/MoqSetupMethodDescriptor.cs index dde794fb..fe42697b 100644 --- a/Source/Moq.Analyzers/MoqSetupMethodDescriptor.cs +++ b/Source/Moq.Analyzers/MoqSetupMethodDescriptor.cs @@ -29,9 +29,4 @@ public override bool IsMatch(SemanticModel semanticModel, MemberAccessExpression return methodSymbol.Name.AsSpan().SequenceEqual(MethodName.AsSpan()) && methodSymbol.IsGenericMethod; } - - private static bool IsFastMatch(MemberAccessExpressionSyntax memberAccessSyntax) - { - return string.Equals(memberAccessSyntax.Name.Identifier.Text, MethodName, StringComparison.Ordinal); - } }