Created
March 1, 2020 18:30
-
-
Save marek-safar/000de7499d956fd68fcc76ce9cbf2b89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class C | |
{ | |
public object m_stateMachine; | |
public static void Main () | |
{ | |
new SS().Foo(); | |
} | |
public static bool LoggingOn => false; | |
public object GetCompletionAction(object oo, ref object ii) | |
{ | |
return null; | |
} | |
} | |
struct SS | |
{ | |
object Task; | |
C m_coreState; | |
public void Foo () | |
{ | |
object runnerToInitialize = null; | |
var continuation = m_coreState.GetCompletionAction(C.LoggingOn ? this.Task : null, ref runnerToInitialize); | |
if (m_coreState.m_stateMachine == null) { | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment