Skip to content

Commit

Permalink
Simplify names (IDE0001) (#861)
Browse files Browse the repository at this point in the history
  • Loading branch information
atifaziz authored Nov 4, 2022
1 parent 66cfe26 commit ac055df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MoreLinq.Test/ToDataTableTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void ToDataTableNullMemberExpressionMethod()
Expression<Func<TestObject, object>> expression = null;

AssertThrowsArgument.Exception("expressions",() =>
_testObjects.ToDataTable<TestObject>(expression));
_testObjects.ToDataTable(expression));
}

[Test]
Expand Down
2 changes: 1 addition & 1 deletion MoreLinq/Lookup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public IEnumerable<TResult> ApplyResultSelector<TResult>(Func<TKey, IEnumerable<
if (g != null) {
do {
g = g.next;
if (g.count != g.elements.Length) { Array.Resize<TElement>(ref g.elements, g.count); }
if (g.count != g.elements.Length) { Array.Resize(ref g.elements, g.count); }
yield return resultSelector(g.key, g.elements);
} while (g != _lastGrouping);
}
Expand Down

0 comments on commit ac055df

Please sign in to comment.