Ryujinx-uplift/src/Ryujinx.Horizon.Common/OnScopeExit.cs