126 references to State
Microsoft.AspNetCore.Mvc.Core (126)
Infrastructure\ResourceInvoker.cs (126)
219var next = State.InvokeBegin; 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) 297case State.InvokeBegin: 299goto case State.AuthorizationBegin; 302case State.AuthorizationBegin: 305goto case State.AuthorizationNext; 308case State.AuthorizationNext: 319goto case State.AuthorizationAsyncBegin; 329goto case State.AuthorizationSync; 333goto case State.AuthorizationEnd; 337case State.AuthorizationAsyncBegin: 354next = State.AuthorizationAsyncEnd; 358goto case State.AuthorizationAsyncEnd; 361case State.AuthorizationAsyncEnd: 377goto case State.AuthorizationShortCircuit; 380goto case State.AuthorizationNext; 383case State.AuthorizationSync: 407goto case State.AuthorizationShortCircuit; 410goto case State.AuthorizationNext; 413case State.AuthorizationShortCircuit: 426case State.AuthorizationEnd: 428goto case State.ResourceBegin; 431case State.ResourceBegin: 434goto case State.ResourceNext; 437case State.ResourceNext: 451goto case State.ResourceAsyncBegin; 464goto case State.ResourceSyncBegin; 469goto case State.ResourceInside; 473case State.ResourceAsyncBegin: 490next = State.ResourceAsyncEnd; 494goto case State.ResourceAsyncEnd; 497case State.ResourceAsyncEnd: 517goto case State.ResourceShortCircuit; 529goto case State.ResourceEnd; 532case State.ResourceSyncBegin: 562goto case State.ResourceShortCircuit; 568next = State.ResourceSyncEnd; 572goto case State.ResourceSyncEnd; 575case State.ResourceSyncEnd: 598goto case State.ResourceEnd; 601case State.ResourceShortCircuit: 612next = State.ResourceEnd; 616goto case State.ResourceEnd; 619case State.ResourceInside: 621goto case State.ExceptionBegin; 624case State.ExceptionBegin: 627goto case State.ExceptionNext; 630case State.ExceptionNext: 636goto case State.ExceptionAsyncBegin; 641goto case State.ExceptionSyncBegin; 646goto case State.ExceptionInside; 652goto case State.ActionBegin; 656case State.ExceptionAsyncBegin: 661next = State.ExceptionAsyncResume; 665goto case State.ExceptionAsyncResume; 668case State.ExceptionAsyncResume: 688next = State.ExceptionAsyncEnd; 692goto case State.ExceptionAsyncEnd; 695goto case State.ExceptionEnd; 698case State.ExceptionAsyncEnd: 720goto case State.ExceptionEnd; 723case State.ExceptionSyncBegin: 728next = State.ExceptionSyncEnd; 732goto case State.ExceptionSyncEnd; 735case State.ExceptionSyncEnd: 769goto case State.ExceptionEnd; 772case State.ExceptionInside: 774goto case State.ActionBegin; 777case State.ExceptionHandled: 799next = State.ResourceInsideEnd; 803goto case State.ResourceInsideEnd; 806case State.ExceptionEnd: 822goto case State.ExceptionHandled; 832next = State.ResourceInsideEnd; 835goto case State.ResourceInsideEnd; 838case State.ActionBegin: 843next = State.ActionEnd; 847goto case State.ActionEnd; 850case State.ActionEnd: 864next = State.ResourceInsideEnd; 867goto case State.ResourceInsideEnd; 870case State.ResourceInsideEnd: 879goto case State.ResourceEnd; 882goto case State.InvokeEnd; 885case State.ResourceEnd: 896goto case State.InvokeEnd; 899case State.InvokeEnd: 954var next = State.ResourceNext; 978static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted) 1005var next = State.ExceptionNext; 1028static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted) 1053var next = State.ResultBegin; 1076static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted) 1091var next = State.ResultBegin; 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) 1135case State.ResultBegin: 1138goto case State.ResultNext; 1141case State.ResultNext: 1152goto case State.ResultAsyncBegin; 1162goto case State.ResultSyncBegin; 1166goto case State.ResultInside; 1170case State.ResultAsyncBegin: 1187next = State.ResultAsyncEnd; 1191goto case State.ResultAsyncEnd; 1194case State.ResultAsyncEnd: 1224goto case State.ResultEnd; 1227case State.ResultSyncBegin: 1263goto case State.ResultEnd; 1269next = State.ResultSyncEnd; 1273goto case State.ResultSyncEnd; 1276case State.ResultSyncEnd: 1299goto case State.ResultEnd; 1302case State.ResultInside: 1319next = State.ResultEnd; 1323goto case State.ResultEnd; 1326case State.ResultEnd: 1356var next = State.ResultNext; 1381static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted)