Infrastructure\ResourceInvoker.cs (126)
215var next = State.InvokeBegin;
248static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted)
289private Task Next(ref State next, ref Scope scope, ref object? state, ref bool isCompleted)
293case State.InvokeBegin:
295goto case State.AuthorizationBegin;
298case State.AuthorizationBegin:
301goto case State.AuthorizationNext;
304case State.AuthorizationNext:
315goto case State.AuthorizationAsyncBegin;
325goto case State.AuthorizationSync;
329goto case State.AuthorizationEnd;
333case State.AuthorizationAsyncBegin:
350next = State.AuthorizationAsyncEnd;
354goto case State.AuthorizationAsyncEnd;
357case State.AuthorizationAsyncEnd:
373goto case State.AuthorizationShortCircuit;
376goto case State.AuthorizationNext;
379case State.AuthorizationSync:
403goto case State.AuthorizationShortCircuit;
406goto case State.AuthorizationNext;
409case State.AuthorizationShortCircuit:
422case State.AuthorizationEnd:
424goto case State.ResourceBegin;
427case State.ResourceBegin:
430goto case State.ResourceNext;
433case State.ResourceNext:
447goto case State.ResourceAsyncBegin;
460goto case State.ResourceSyncBegin;
465goto case State.ResourceInside;
469case State.ResourceAsyncBegin:
486next = State.ResourceAsyncEnd;
490goto case State.ResourceAsyncEnd;
493case State.ResourceAsyncEnd:
513goto case State.ResourceShortCircuit;
525goto case State.ResourceEnd;
528case State.ResourceSyncBegin:
558goto case State.ResourceShortCircuit;
564next = State.ResourceSyncEnd;
568goto case State.ResourceSyncEnd;
571case State.ResourceSyncEnd:
594goto case State.ResourceEnd;
597case State.ResourceShortCircuit:
608next = State.ResourceEnd;
612goto case State.ResourceEnd;
615case State.ResourceInside:
617goto case State.ExceptionBegin;
620case State.ExceptionBegin:
623goto case State.ExceptionNext;
626case State.ExceptionNext:
632goto case State.ExceptionAsyncBegin;
637goto case State.ExceptionSyncBegin;
642goto case State.ExceptionInside;
648goto case State.ActionBegin;
652case State.ExceptionAsyncBegin:
657next = State.ExceptionAsyncResume;
661goto case State.ExceptionAsyncResume;
664case State.ExceptionAsyncResume:
684next = State.ExceptionAsyncEnd;
688goto case State.ExceptionAsyncEnd;
691goto case State.ExceptionEnd;
694case State.ExceptionAsyncEnd:
716goto case State.ExceptionEnd;
719case State.ExceptionSyncBegin:
724next = State.ExceptionSyncEnd;
728goto case State.ExceptionSyncEnd;
731case State.ExceptionSyncEnd:
765goto case State.ExceptionEnd;
768case State.ExceptionInside:
770goto case State.ActionBegin;
773case State.ExceptionHandled:
795next = State.ResourceInsideEnd;
799goto case State.ResourceInsideEnd;
802case State.ExceptionEnd:
818goto case State.ExceptionHandled;
828next = State.ResourceInsideEnd;
831goto case State.ResourceInsideEnd;
834case State.ActionBegin:
839next = State.ActionEnd;
843goto case State.ActionEnd;
846case State.ActionEnd:
860next = State.ResourceInsideEnd;
863goto case State.ResourceInsideEnd;
866case State.ResourceInsideEnd:
875goto case State.ResourceEnd;
878goto case State.InvokeEnd;
881case State.ResourceEnd:
892goto case State.InvokeEnd;
895case State.InvokeEnd:
950var next = State.ResourceNext;
974static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted)
1001var next = State.ExceptionNext;
1024static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted)
1049var next = State.ResultBegin;
1072static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted)
1087var next = State.ResultBegin;
1110static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted)
1121private Task ResultNext<TFilter, TFilterAsync>(ref State next, ref Scope scope, ref object? state, ref bool isCompleted)
1131case State.ResultBegin:
1134goto case State.ResultNext;
1137case State.ResultNext:
1148goto case State.ResultAsyncBegin;
1158goto case State.ResultSyncBegin;
1162goto case State.ResultInside;
1166case State.ResultAsyncBegin:
1183next = State.ResultAsyncEnd;
1187goto case State.ResultAsyncEnd;
1190case State.ResultAsyncEnd:
1220goto case State.ResultEnd;
1223case State.ResultSyncBegin:
1259goto case State.ResultEnd;
1265next = State.ResultSyncEnd;
1269goto case State.ResultSyncEnd;
1272case State.ResultSyncEnd:
1295goto case State.ResultEnd;
1298case State.ResultInside:
1315next = State.ResultEnd;
1319goto case State.ResultEnd;
1322case State.ResultEnd:
1352var next = State.ResultNext;
1377static async Task Awaited(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object? state, bool isCompleted)