84 references to ParallelLoopResult
Microsoft.CodeAnalysis (1)
InternalUtilities\RoslynParallel.cs (1)
17
public static
ParallelLoopResult
For(int fromInclusive, int toExclusive, Action<int> body, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (2)
4538
var
result = Parallel.For(0, 100, i =>
4574
var
result = Parallel.For(0, 100, i =>
Symbols\IndexerTests.cs (2)
2166
var
loopResult = Parallel.ForEach(compilation.GlobalNamespace.GetTypeMembers(), type =>
2197
var
loopResult = Parallel.ForEach(compilation.GlobalNamespace.GetTypeMembers(), type =>
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\RoslynParallel.cs (1)
17
public static
ParallelLoopResult
For(int fromInclusive, int toExclusive, Action<int> body, CancellationToken cancellationToken)
Microsoft.Maui.Resizetizer (1)
AsyncTaskExtensions.cs (1)
14
public static
ParallelLoopResult
ParallelForEach<TSource>(this MauiAsyncTask asyncTask, IEnumerable<TSource> source, Action<TSource> body)
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
1157
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.
ParallelLoopResult
))]
netstandard (1)
netstandard.cs (1)
2109
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.
ParallelLoopResult
))]
System.Threading.Tasks.Parallel (75)
System\Threading\Tasks\Parallel.cs (75)
382
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
388
public static
ParallelLoopResult
For(int fromInclusive, int toExclusive, Action<int> body)
408
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
414
public static
ParallelLoopResult
For(long fromInclusive, long toExclusive, Action<long> body)
444
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
450
public static
ParallelLoopResult
For(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action<int> body)
481
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
487
public static
ParallelLoopResult
For(long fromInclusive, long toExclusive, ParallelOptions parallelOptions, Action<long> body)
507
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
537
public static
ParallelLoopResult
For(int fromInclusive, int toExclusive, Action<int, ParallelLoopState> body)
556
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
564
public static
ParallelLoopResult
For(long fromInclusive, long toExclusive, Action<long, ParallelLoopState> body)
594
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
602
public static
ParallelLoopResult
For(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action<int, ParallelLoopState> body)
633
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
641
public static
ParallelLoopResult
For(long fromInclusive, long toExclusive, ParallelOptions parallelOptions,
671
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
690
public static
ParallelLoopResult
For<TLocal>(
724
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
743
public static
ParallelLoopResult
For<TLocal>(
788
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
807
public static
ParallelLoopResult
For<TLocal>(
853
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
872
public static
ParallelLoopResult
For<TLocal>(
913
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
"/> structure.</returns>
914
private static
ParallelLoopResult
ForWorker<TLocal, TInt>(
930
ParallelLoopResult
result = default;
1176
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1182
public static
ParallelLoopResult
ForEach<TSource>(IEnumerable<TSource> source, Action<TSource> body)
1215
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1221
public static
ParallelLoopResult
ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource> body)
1244
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1252
public static
ParallelLoopResult
ForEach<TSource>(IEnumerable<TSource> source, Action<TSource, ParallelLoopState> body)
1285
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1293
public static
ParallelLoopResult
ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource, ParallelLoopState> body)
1316
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1324
public static
ParallelLoopResult
ForEach<TSource>(IEnumerable<TSource> source, Action<TSource, ParallelLoopState, long> body)
1357
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1365
public static
ParallelLoopResult
ForEach<TSource>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Action<TSource, ParallelLoopState, long> body)
1397
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1416
public static
ParallelLoopResult
ForEach<TSource, TLocal>(IEnumerable<TSource> source, Func<TLocal> localInit,
1461
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1480
public static
ParallelLoopResult
ForEach<TSource, TLocal>(IEnumerable<TSource> source,
1516
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1535
public static
ParallelLoopResult
ForEach<TSource, TLocal>(IEnumerable<TSource> source, Func<TLocal> localInit,
1580
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1599
public static
ParallelLoopResult
ForEach<TSource, TLocal>(IEnumerable<TSource> source, ParallelOptions parallelOptions, Func<TLocal> localInit,
1634
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
"/> structure.</returns>
1635
private static
ParallelLoopResult
ForEachWorker<TSource, TLocal>(
1692
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
"/> structure.</returns>
1693
private static
ParallelLoopResult
ForEachWorker<TSource, TLocal>(
1751
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
"/> structure.</returns>
1752
private static
ParallelLoopResult
ForEachWorker<TSource, TLocal>(
1821
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1835
public static
ParallelLoopResult
ForEach<TSource>(
1872
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1888
public static
ParallelLoopResult
ForEach<TSource>(
1928
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
1944
public static
ParallelLoopResult
ForEach<TSource>(
1995
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
2020
public static
ParallelLoopResult
ForEach<TSource, TLocal>(
2073
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
2098
public static
ParallelLoopResult
ForEach<TSource, TLocal>(
2155
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
2169
public static
ParallelLoopResult
ForEach<TSource>(
2219
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
2235
public static
ParallelLoopResult
ForEach<TSource>(
2288
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
2304
public static
ParallelLoopResult
ForEach<TSource>(
2368
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
2393
public static
ParallelLoopResult
ForEach<TSource, TLocal>(
2459
/// <returns>A <see cref="System.Threading.Tasks.
ParallelLoopResult
">ParallelLoopResult</see> structure
2484
public static
ParallelLoopResult
ForEach<TSource, TLocal>(
2506
private static
ParallelLoopResult
PartitionerForEachWorker<TSource, TLocal>(
2551
ParallelLoopResult
result = default;