79 references to Current
Consumer (1)
dotnet-svcutil-lib (1)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
Microsoft.JSInterop (3)
OrderProcessor (1)
Roslyn.Diagnostics.Analyzers (1)
System.Net.Http (1)
System.Private.CoreLib (48)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task_T.cs (12)
629return ContinueWith(continuationAction, TaskScheduler.Current, default, TaskContinuationOptions.None);
652return ContinueWith(continuationAction, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
713return ContinueWith(continuationAction, TaskScheduler.Current, default, continuationOptions);
810return ContinueWith(continuationAction, state, TaskScheduler.Current, default, TaskContinuationOptions.None);
834return ContinueWith(continuationAction, state, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
897return ContinueWith(continuationAction, state, TaskScheduler.Current, default, continuationOptions);
998return ContinueWith(continuationFunction, TaskScheduler.Current, default, TaskContinuationOptions.None);
1027return ContinueWith(continuationFunction, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
1099return ContinueWith(continuationFunction, TaskScheduler.Current, default, continuationOptions);
1212return ContinueWith(continuationFunction, state, TaskScheduler.Current, default, TaskContinuationOptions.None);
1243return ContinueWith(continuationFunction, state, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
1319return ContinueWith(continuationFunction, state, TaskScheduler.Current, default, continuationOptions);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (17)
1064Start(TaskScheduler.Current);
1149InternalRunSynchronously(TaskScheduler.Current, waitForCompletion: true);
2472log.TaskStarted(TaskScheduler.Current.Id, 0, this.Id);
2526log.TaskCompleted(TaskScheduler.Current.Id, 0, this.Id, IsFaulted);
3827return ContinueWith(continuationAction, TaskScheduler.Current, default, TaskContinuationOptions.None);
3849return ContinueWith(continuationAction, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
3909return ContinueWith(continuationAction, TaskScheduler.Current, default, continuationOptions);
4005return ContinueWith(continuationAction, state, TaskScheduler.Current, default, TaskContinuationOptions.None);
4028return ContinueWith(continuationAction, state, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
4090return ContinueWith(continuationAction, state, TaskScheduler.Current, default, continuationOptions);
4190return ContinueWith(continuationFunction, TaskScheduler.Current, default,
4219return ContinueWith(continuationFunction, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
4285return ContinueWith(continuationFunction, TaskScheduler.Current, default, continuationOptions);
4390return ContinueWith(continuationFunction, state, TaskScheduler.Current, default,
4420return ContinueWith(continuationFunction, state, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
4488return ContinueWith(continuationFunction, state, TaskScheduler.Current, default, continuationOptions);
4696log.AwaitTaskContinuationScheduled(TaskScheduler.Current.Id, CurrentId ?? 0, continuationTask.Id);
System.Runtime.InteropServices.JavaScript (3)
System.ServiceModel.Primitives (1)
System.Threading.Channels (2)
System.Threading.Tasks.Parallel (12)
System\Threading\Tasks\Parallel.cs (11)
66internal TaskScheduler EffectiveTaskScheduler => _scheduler ?? TaskScheduler.Current;
223ParallelEtwProvider.Log.ParallelInvokeBegin(TaskScheduler.Current.Id, Task.CurrentId ?? 0,
362ParallelEtwProvider.Log.ParallelInvokeEnd(TaskScheduler.Current.Id, Task.CurrentId ?? 0, forkJoinContextID);
968ParallelEtwProvider.Log.ParallelLoopBegin(TaskScheduler.Current.Id, Task.CurrentId ?? 0,
1005ParallelEtwProvider.Log.ParallelFork(TaskScheduler.Current.Id, Task.CurrentId ?? 0, forkJoinContextID);
1105ParallelEtwProvider.Log.ParallelJoin(TaskScheduler.Current.Id, Task.CurrentId ?? 0, forkJoinContextID);
1150ParallelEtwProvider.Log.ParallelLoopEnd(TaskScheduler.Current.Id, Task.CurrentId ?? 0, forkJoinContextID, long.CreateTruncating(nTotalIterations));
2535ParallelEtwProvider.Log.ParallelLoopBegin(TaskScheduler.Current.Id, Task.CurrentId ?? 0,
2596ParallelEtwProvider.Log.ParallelFork(TaskScheduler.Current.Id, Task.CurrentId ?? 0, forkJoinContextID);
2741ParallelEtwProvider.Log.ParallelJoin(TaskScheduler.Current.Id, Task.CurrentId ?? 0, forkJoinContextID);
2789ParallelEtwProvider.Log.ParallelLoopEnd(TaskScheduler.Current.Id, Task.CurrentId ?? 0, forkJoinContextID, 0);