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)
508
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
512
/// Calling <see cref="System.Threading.Tasks.
ParallelLoopState
.Break()">ParallelLoopState.Break()</see>
521
/// <see cref="System.Threading.Tasks.
ParallelLoopState
.Stop()">ParallelLoopState.Stop()</see>
528
/// When a loop is ended prematurely, the <see cref="
ParallelLoopState
"/> that's returned will contain
532
public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action<int,
ParallelLoopState
> body)
556
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
559
public static ParallelLoopResult For(long fromInclusive, long toExclusive, Action<long,
ParallelLoopState
> body)
594
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
597
public static ParallelLoopResult For(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action<int,
ParallelLoopState
> body)
633
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
637
Action<long,
ParallelLoopState
> body)
672
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
688
Func<int,
ParallelLoopState
, TLocal, TLocal> body,
725
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
741
Func<long,
ParallelLoopState
, TLocal, TLocal> body,
789
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
805
Func<int,
ParallelLoopState
, TLocal, TLocal> body,
854
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
870
Func<long,
ParallelLoopState
, TLocal, TLocal> body,
913
Action<TInt,
ParallelLoopState
>? bodyWithState,
914
Func<TInt,
ParallelLoopState
, TLocal, TLocal>? bodyWithLocal,
1244
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1247
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource,
ParallelLoopState
> body)
1285
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1288
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource,
ParallelLoopState
> body)
1316
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1319
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, Action<TSource,
ParallelLoopState
, long> body)
1357
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1360
public static ParallelLoopResult ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource,
ParallelLoopState
, long> body)
1398
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1412
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body, Action<TLocal> localFinally)
1462
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1477
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body, Action<TLocal> localFinally)
1517
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1531
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body, Action<TLocal> localFinally)
1581
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1595
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body, Action<TLocal> localFinally)
1634
Action<TSource,
ParallelLoopState
>? bodyWithState,
1635
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
1636
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
1637
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal>? bodyWithEverything,
1692
Action<TSource,
ParallelLoopState
>? bodyWithState,
1693
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
1694
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
1695
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal>? bodyWithEverything,
1751
Action<TSource,
ParallelLoopState
>? bodyWithState,
1752
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
1753
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
1754
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal>? bodyWithEverything,
1879
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1885
Action<TSource,
ParallelLoopState
> body)
1935
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
1941
Action<TSource,
ParallelLoopState
, long> body)
2002
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2018
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body,
2080
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2096
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body,
2226
/// and a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2233
Action<TSource,
ParallelLoopState
> body)
2295
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2302
Action<TSource,
ParallelLoopState
, long> body)
2375
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2392
Func<TSource,
ParallelLoopState
, TLocal, TLocal> body,
2466
/// a <see cref="System.Threading.Tasks.
ParallelLoopState
">ParallelLoopState</see> instance that may be
2483
Func<TSource,
ParallelLoopState
, long, TLocal, TLocal> body,
2505
Action<TSource,
ParallelLoopState
>? bodyWithState,
2506
Action<TSource,
ParallelLoopState
, long>? bodyWithStateAndIndex,
2507
Func<TSource,
ParallelLoopState
, TLocal, TLocal>? bodyWithStateAndLocal,
2508
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