Exemplo n.º 1
0
        public FlowBranchingAsync StartFlowBranching(AsyncInitializer asyncBody, FlowBranching parent)
        {
            var branching = new FlowBranchingAsync(parent, asyncBody);

            current_flow_branching = branching;
            return(branching);
        }
Exemplo n.º 2
0
 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> > ();
 }