Skip to content

Commit

Permalink
Remove unused IsFastMatch method
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKotsenas committed Jun 12, 2024
1 parent a4bb21e commit e9df911
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Source/Moq.Analyzers/MoqSetupMethodDescriptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit e9df911

Please sign in to comment.