1 type derived from ParallelLoopState
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\ParallelLoopState.cs (1)
224
internal sealed class ParallelLoopState<TInt> :
ParallelLoopState
where TInt : struct, IBinaryInteger<TInt>, IMinMaxValue<TInt>
77 references to ParallelLoopState
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
SchedulerBenchmark.cs (2)
30
private Func<int,
ParallelLoopState
, PipeScheduler[], PipeScheduler[]> _parallelAction;
99
private PipeScheduler[] ParallelBody(int i,
ParallelLoopState
state, PipeScheduler[] schedulers)
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
1158
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.
ParallelLoopState
))]
netstandard (1)
netstandard.cs (1)
2110
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.
ParallelLoopState
))]
System.Threading.Tasks.Parallel (73)
System\Threading\Tasks\Parallel.cs (69)
513
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
517
/// Calling <see cref="System.Threading.Tasks.
ParallelLoopState
.Break()">ParallelLoopState.Break()</see>
526
/// <see cref="System.Threading.Tasks.
ParallelLoopState
.Stop()">ParallelLoopState.Stop()</see>
533
/// When a loop is ended prematurely, the <see cref="
ParallelLoopState
"/> that's returned will contain
537
public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action<int,
ParallelLoopState
> body)
561
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
564
public static ParallelLoopResult For(long fromInclusive, long toExclusive, Action<long,
ParallelLoopState
> body)
599
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
602
public static ParallelLoopResult For(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action<int,
ParallelLoopState
> body)
638
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
642
Action<long,
ParallelLoopState
> body)
677
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
693
Func<int,
ParallelLoopState
, TLocal, TLocal> body,
730
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
746
Func<long,
ParallelLoopState
, TLocal, TLocal> body,
794
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
810
Func<int,
ParallelLoopState
, TLocal, TLocal> body,
859
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
875
Func<long,
ParallelLoopState
, TLocal, TLocal> body,
918
Action<TInt,
ParallelLoopState
>? bodyWithState,
919
Func<TInt,
ParallelLoopState
, TLocal, TLocal>? bodyWithLocal,
1249
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1252
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource,
ParallelLoopState
> body)
1290
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1293
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource,
ParallelLoopState
> body)
1321
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1324
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource,
ParallelLoopState
, long> body)
1362
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1365
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource,
ParallelLoopState
, long> body)
1403
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1417
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body, Action<TLocal> localFinally)
1467
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1482
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body, Action<TLocal> localFinally)
1522
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1536
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body, Action<TLocal> localFinally)
1586
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1600
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body, Action<TLocal> localFinally)
1639
Action<TSource,
ParallelLoopState
>? bodyWithState,
1640
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
1641
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
1642
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal>? bodyWithEverything,
1697
Action<TSource,
ParallelLoopState
>? bodyWithState,
1698
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
1699
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
1700
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal>? bodyWithEverything,
1756
Action<TSource,
ParallelLoopState
>? bodyWithState,
1757
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
1758
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
1759
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal>? bodyWithEverything,
1884
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1890
Action<TSource,
ParallelLoopState
> body)
1940
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1946
Action<TSource,
ParallelLoopState
, long> body)
2007
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2023
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body,
2085
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2101
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body,
2231
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2238
Action<TSource,
ParallelLoopState
> body)
2300
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2307
Action<TSource,
ParallelLoopState
, long> body)
2380
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2397
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body,
2471
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2488
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body,
2510
Action<TSource,
ParallelLoopState
>? bodyWithState,
2511
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
2512
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
2513
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal>? bodyWithEverything,
System\Threading\Tasks\ParallelLoopState.cs (4)
419
/// cref="System.Threading.Tasks.
ParallelLoopState
.Stop"/> was used to end the loop prematurely. If <see
421
/// value, <see cref="System.Threading.Tasks.
ParallelLoopState
.Break()"/> was used to end the loop prematurely.
436
/// cref="System.Threading.Tasks.
ParallelLoopState
.Break()"/>
440
/// If <see cref="System.Threading.Tasks.
ParallelLoopState
.Break()"/> was not employed, this property will