Skip to content

Commit 985dbf3

Browse files
committed
Style consistency in new code.
1 parent f598aad commit 985dbf3

File tree

1 file changed

+6
-6
lines changed
  • Ix.NET/Source/System.Linq.Async/System/Linq/Operators

1 file changed

+6
-6
lines changed

Ix.NET/Source/System.Linq.Async/System/Linq/Operators/SelectMany.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static IAsyncEnumerable<TResult> SelectMany<TSource, TResult>(this IAsync
5555

5656
async IAsyncEnumerator<TResult> Core(CancellationToken cancellationToken)
5757
{
58-
int index = -1;
58+
var index = -1;
5959

6060
await foreach (var element in AsyncEnumerableExtensions.WithCancellation(source, cancellationToken).ConfigureAwait(false))
6161
{
@@ -89,7 +89,7 @@ public static IAsyncEnumerable<TResult> SelectMany<TSource, TResult>(this IAsync
8989

9090
async IAsyncEnumerator<TResult> Core(CancellationToken cancellationToken)
9191
{
92-
int index = -1;
92+
var index = -1;
9393

9494
await foreach (var element in AsyncEnumerableExtensions.WithCancellation(source, cancellationToken).ConfigureAwait(false))
9595
{
@@ -124,7 +124,7 @@ public static IAsyncEnumerable<TResult> SelectMany<TSource, TResult>(this IAsync
124124

125125
async IAsyncEnumerator<TResult> Core(CancellationToken cancellationToken)
126126
{
127-
int index = -1;
127+
var index = -1;
128128

129129
await foreach (var element in AsyncEnumerableExtensions.WithCancellation(source, cancellationToken).ConfigureAwait(false))
130130
{
@@ -250,7 +250,7 @@ public static IAsyncEnumerable<TResult> SelectMany<TSource, TCollection, TResult
250250

251251
async IAsyncEnumerator<TResult> Core(CancellationToken cancellationToken)
252252
{
253-
int index = -1;
253+
var index = -1;
254254

255255
await foreach (var element in AsyncEnumerableExtensions.WithCancellation(source, cancellationToken).ConfigureAwait(false))
256256
{
@@ -286,7 +286,7 @@ public static IAsyncEnumerable<TResult> SelectMany<TSource, TCollection, TResult
286286

287287
async IAsyncEnumerator<TResult> Core(CancellationToken cancellationToken)
288288
{
289-
int index = -1;
289+
var index = -1;
290290

291291
await foreach (var element in AsyncEnumerableExtensions.WithCancellation(source, cancellationToken).ConfigureAwait(false))
292292
{
@@ -323,7 +323,7 @@ public static IAsyncEnumerable<TResult> SelectMany<TSource, TCollection, TResult
323323

324324
async IAsyncEnumerator<TResult> Core(CancellationToken cancellationToken)
325325
{
326-
int index = -1;
326+
var index = -1;
327327

328328
await foreach (var element in AsyncEnumerableExtensions.WithCancellation(source, cancellationToken).ConfigureAwait(false))
329329
{

0 commit comments

Comments
 (0)