public FlowBranchingAsync StartFlowBranching(AsyncInitializer asyncBody, FlowBranching parent) { var branching = new FlowBranchingAsync(parent, asyncBody); current_flow_branching = branching; return(branching); }
public AsyncTaskStorey(ParametersBlock block, IMemberContext context, AsyncInitializer initializer, TypeSpec type) : base(block, initializer.Host, context.CurrentMemberDefinition as MemberBase, context.CurrentTypeParameters, "async", MemberKind.Struct) { return_type = type; awaiter_fields = new Dictionary <TypeSpec, List <Field> > (); }
public AsyncInitializerStatement(AsyncInitializer expr) : base(expr) { }
public AsyncTaskStorey(IMemberContext context, AsyncInitializer initializer, TypeSpec type) : base(initializer.OriginalBlock, initializer.Host, context.CurrentMemberDefinition as MemberBase, context.CurrentTypeParameters, "async") { return_type = type; }
public AsyncTaskStorey(AsyncInitializer initializer, TypeSpec type) : base(initializer.OriginalBlock, initializer.Host, null, null, "async") { return_type = type; }