31 references to Scope
Microsoft.AspNetCore.Mvc.Core (31)
Infrastructure\ResourceInvoker.cs (31)
224var scope = Scope.Invoker; 252static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted) 293private Task Next(ref State next, ref Scope scope, ref object? state, ref bool isCompleted) 643else if (scope == Scope.Exception) 651Debug.Assert(scope == Scope.Invoker || scope == Scope.Resource); 810if (scope == Scope.Exception) 852if (scope == Scope.Exception) 860Debug.Assert(scope == Scope.Invoker || scope == Scope.Resource); 872if (scope == Scope.Resource) 887if (scope == Scope.Resource) 893Debug.Assert(scope == Scope.Invoker); 953var scope = Scope.Resource; 978static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted) 1007var scope = Scope.Exception; 1028static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted) 1054var scope = Scope.Invoker; 1076static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted) 1092var scope = Scope.Invoker; 1114static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted) 1125private Task ResultNext<TFilter, TFilterAsync>(ref State next, ref Scope scope, ref object? state, ref bool isCompleted) 1331if (scope == Scope.Result) 1358var scope = Scope.Result; 1381static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted)