Skip to content

Commit 80575cd

Browse files
committed
Changed name.
1 parent 6c0bcec commit 80575cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ReClass.NET/Extensions/LinqExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ public static int FindIndex<TSource>(this IEnumerable<TSource> source, Func<TSou
9999
Contract.Requires(predicate != null);
100100
Contract.Ensures(Contract.Result<int>() >= -1);
101101

102-
int retVal = 0;
102+
var index = 0;
103103
foreach (var item in source)
104104
{
105105
if (predicate(item))
106106
{
107-
return retVal;
107+
return index;
108108
}
109-
++retVal;
109+
++index;
110110
}
111111
return -1;
112112
}

0 commit comments

Comments
 (0)