Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marek-safar/000de7499d956fd68fcc76ce9cbf2b89 to your computer and use it in GitHub Desktop.
Save marek-safar/000de7499d956fd68fcc76ce9cbf2b89 to your computer and use it in GitHub Desktop.
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