public static void EnterInteractive() { ApplicationState assert5; ApplicationState assert6; switch (CoreApp.State) { case ApplicationState.Terminating: { global::Uno.Diagnostics.Debug.Log("EnterInteractive() called on terminating application", global::Uno.Diagnostics.DebugMessageType.Debug, "Library/Core/UnoCore/Source/Uno/Platform/CoreApp.uno", 128); return; } case ApplicationState.Uninitialized: { global::Uno.Diagnostics.Debug.Log("EnterInteractive() called on uninitialized application", global::Uno.Diagnostics.DebugMessageType.Debug, "Library/Core/UnoCore/Source/Uno/Platform/CoreApp.uno", 132); return; } case ApplicationState.Background: { CoreApp.EnterForeground(); break; } case ApplicationState.Foreground: break; case ApplicationState.Interactive: return; } assert5 = CoreApp.State; global::Uno.Diagnostics.Debug.Assert(assert5 == ApplicationState.Foreground, "Uno.Platform.CoreApp.State == Uno.Platform.ApplicationState.Foreground", "Library/Core/UnoCore/Source/Uno/Platform/CoreApp.uno", 146, new object[] { (object)assert5, (object)ApplicationState.Foreground }); CoreApp.State = ApplicationState.Interactive; ApplicationStateTransitionHandler handler = CoreApp.EnteringInteractive; if (handler != null) { handler(CoreApp.State); } assert6 = CoreApp.State; global::Uno.Diagnostics.Debug.Assert(assert6 == ApplicationState.Interactive, "Uno.Platform.CoreApp.State == Uno.Platform.ApplicationState.Interactive", "Library/Core/UnoCore/Source/Uno/Platform/CoreApp.uno", 154, new object[] { (object)assert6, (object)ApplicationState.Interactive }); }