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)
518
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
522
/// Calling <see cref="System.Threading.Tasks.
ParallelLoopState
.Break()">ParallelLoopState.Break()</see>
531
/// <see cref="System.Threading.Tasks.
ParallelLoopState
.Stop()">ParallelLoopState.Stop()</see>
538
/// When a loop is ended prematurely, the <see cref="
ParallelLoopState
"/> that's returned will contain
542
public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action<int,
ParallelLoopState
> body)
566
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
569
public static ParallelLoopResult For(long fromInclusive, long toExclusive, Action<long,
ParallelLoopState
> body)
604
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
607
public static ParallelLoopResult For(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action<int,
ParallelLoopState
> body)
643
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
647
Action<long,
ParallelLoopState
> body)
682
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
698
Func<int,
ParallelLoopState
, TLocal, TLocal> body,
735
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
751
Func<long,
ParallelLoopState
, TLocal, TLocal> body,
799
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
815
Func<int,
ParallelLoopState
, TLocal, TLocal> body,
864
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
880
Func<long,
ParallelLoopState
, TLocal, TLocal> body,
923
Action<TInt,
ParallelLoopState
>? bodyWithState,
924
Func<TInt,
ParallelLoopState
, TLocal, TLocal>? bodyWithLocal,
1254
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1257
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource,
ParallelLoopState
> body)
1295
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1298
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource,
ParallelLoopState
> body)
1326
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1329
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource,
ParallelLoopState
, long> body)
1367
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1370
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource,
ParallelLoopState
, long> body)
1408
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1422
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body, Action<TLocal> localFinally)
1472
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1487
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body, Action<TLocal> localFinally)
1527
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1541
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body, Action<TLocal> localFinally)
1591
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1605
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body, Action<TLocal> localFinally)
1644
Action<TSource,
ParallelLoopState
>? bodyWithState,
1645
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
1646
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
1647
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal>? bodyWithEverything,
1702
Action<TSource,
ParallelLoopState
>? bodyWithState,
1703
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
1704
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
1705
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal>? bodyWithEverything,
1761
Action<TSource,
ParallelLoopState
>? bodyWithState,
1762
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
1763
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
1764
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal>? bodyWithEverything,
1889
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1895
Action<TSource,
ParallelLoopState
> body)
1945
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1951
Action<TSource,
ParallelLoopState
, long> body)
2012
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2028
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body,
2090
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2106
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body,
2236
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2243
Action<TSource,
ParallelLoopState
> body)
2305
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2312
Action<TSource,
ParallelLoopState
, long> body)
2385
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2402
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body,
2476
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2493
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body,
2515
Action<TSource,
ParallelLoopState
>? bodyWithState,
2516
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
2517
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
2518
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