1 type derived from ParallelLoopState
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\ParallelLoopState.cs (1)
224internal 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)
30private Func<int, ParallelLoopState, PipeScheduler[], PipeScheduler[]> _parallelAction; 99private 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 542public 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 569public 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 607public 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 647Action<long, ParallelLoopState> body) 682/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 698Func<int, ParallelLoopState, TLocal, TLocal> body, 735/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 751Func<long, ParallelLoopState, TLocal, TLocal> body, 799/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 815Func<int, ParallelLoopState, TLocal, TLocal> body, 864/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 880Func<long, ParallelLoopState, TLocal, TLocal> body, 923Action<TInt, ParallelLoopState>? bodyWithState, 924Func<TInt, ParallelLoopState, TLocal, TLocal>? bodyWithLocal, 1254/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1257public 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 1298public 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 1329public 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 1370public 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 1422Func<TSource, ParallelLoopState, TLocal, TLocal> body, Action<TLocal> localFinally) 1472/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1487Func<TSource, ParallelLoopState, TLocal, TLocal> body, Action<TLocal> localFinally) 1527/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1541Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, Action<TLocal> localFinally) 1591/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1605Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, Action<TLocal> localFinally) 1644Action<TSource, ParallelLoopState>? bodyWithState, 1645Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1646Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 1647Func<TSource, ParallelLoopState, long, TLocal, TLocal>? bodyWithEverything, 1702Action<TSource, ParallelLoopState>? bodyWithState, 1703Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1704Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 1705Func<TSource, ParallelLoopState, long, TLocal, TLocal>? bodyWithEverything, 1761Action<TSource, ParallelLoopState>? bodyWithState, 1762Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1763Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 1764Func<TSource, ParallelLoopState, long, TLocal, TLocal>? bodyWithEverything, 1889/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1895Action<TSource, ParallelLoopState> body) 1945/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1951Action<TSource, ParallelLoopState, long> body) 2012/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2028Func<TSource, ParallelLoopState, TLocal, TLocal> body, 2090/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2106Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, 2236/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2243Action<TSource, ParallelLoopState> body) 2305/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2312Action<TSource, ParallelLoopState, long> body) 2385/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2402Func<TSource, ParallelLoopState, TLocal, TLocal> body, 2476/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2493Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, 2515Action<TSource, ParallelLoopState>? bodyWithState, 2516Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 2517Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 2518Func<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