Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 21, 2023
1 parent 58f472d commit c050358
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ public Task Extract()
var claims = BuildClaims();
ClaimsAppender.Append(claims, headers, "prefix.");
var result = ClaimsAppender.Extract(headers, "prefix.")
.Select(x => new
.Select(_ => new
{
x.Type,
x.Value
_.Type,
_.Value
});
return Verify(result);
}
Expand Down
4 changes: 2 additions & 2 deletions src/SqlServer.Native/DelegateWrappers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ public static Func<T1,T2, Task<K>> WrapFunc<T1, T2, K>(this Func<T1, T2, Task<K>
};

public static Func<T, Task<K>> WrapFunc<T, K>(this Func<T, Task<K>> func, string name) =>
async x =>
async _ =>
{
Task<K> task;
try
{
task = func(x);
task = func(_);
}
catch (Exception exception)
{
Expand Down

0 comments on commit c050358

Please sign in to comment.