Skip to content

Commit

Permalink
SequenceEquals -> SequenceEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
svengeance committed Jan 24, 2020
1 parent 2defeb2 commit 96ffe14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Shared/EnumerableMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal static class EnumerableMethods
public static MethodInfo AnyWithoutPredicate { get; }
public static MethodInfo AnyWithPredicate { get; }
public static MethodInfo Contains { get; }
public static MethodInfo SequenceEquals { get; }
public static MethodInfo SequenceEqual { get; }

public static MethodInfo ToList { get; }
public static MethodInfo ToArray { get; }
Expand Down Expand Up @@ -152,7 +152,7 @@ static EnumerableMethods()
&& IsFunc(mi.GetParameters()[1].ParameterType));
Contains = enumerableMethods.Single(
mi => mi.Name == nameof(Enumerable.Contains) && mi.GetParameters().Length == 2);
SequenceEquals = enumerableMethods.Single(
SequenceEqual = enumerableMethods.Single(
mi => mi.Name == nameof(Enumerable.SequenceEqual) && mi.GetParameters().Length == 2);

ToList = enumerableMethods.Single(
Expand Down

0 comments on commit 96ffe14

Please sign in to comment.