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)
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 532public 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 559public 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 597public 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 637Action<long, ParallelLoopState> body) 672/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 688Func<int, ParallelLoopState, TLocal, TLocal> body, 725/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 741Func<long, ParallelLoopState, TLocal, TLocal> body, 789/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 805Func<int, ParallelLoopState, TLocal, TLocal> body, 854/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 870Func<long, ParallelLoopState, TLocal, TLocal> body, 913Action<TInt, ParallelLoopState>? bodyWithState, 914Func<TInt, ParallelLoopState, TLocal, TLocal>? bodyWithLocal, 1244/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1247public 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 1288public 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 1319public 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 1360public 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 1412Func<TSource, ParallelLoopState, TLocal, TLocal> body, Action<TLocal> localFinally) 1462/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1477Func<TSource, ParallelLoopState, TLocal, TLocal> body, Action<TLocal> localFinally) 1517/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1531Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, Action<TLocal> localFinally) 1581/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1595Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, Action<TLocal> localFinally) 1634Action<TSource, ParallelLoopState>? bodyWithState, 1635Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1636Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 1637Func<TSource, ParallelLoopState, long, TLocal, TLocal>? bodyWithEverything, 1692Action<TSource, ParallelLoopState>? bodyWithState, 1693Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1694Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 1695Func<TSource, ParallelLoopState, long, TLocal, TLocal>? bodyWithEverything, 1751Action<TSource, ParallelLoopState>? bodyWithState, 1752Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 1753Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 1754Func<TSource, ParallelLoopState, long, TLocal, TLocal>? bodyWithEverything, 1879/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1885Action<TSource, ParallelLoopState> body) 1935/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 1941Action<TSource, ParallelLoopState, long> body) 2002/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2018Func<TSource, ParallelLoopState, TLocal, TLocal> body, 2080/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2096Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, 2226/// and a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2233Action<TSource, ParallelLoopState> body) 2295/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2302Action<TSource, ParallelLoopState, long> body) 2375/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2392Func<TSource, ParallelLoopState, TLocal, TLocal> body, 2466/// a <see cref="System.Threading.Tasks.ParallelLoopState">ParallelLoopState</see> instance that may be 2483Func<TSource, ParallelLoopState, long, TLocal, TLocal> body, 2505Action<TSource, ParallelLoopState>? bodyWithState, 2506Action<TSource, ParallelLoopState, long>? bodyWithStateAndIndex, 2507Func<TSource, ParallelLoopState, TLocal, TLocal>? bodyWithStateAndLocal, 2508Func<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