예제 #1
0
파일: context.cs 프로젝트: gym2000usa/mono
        public FlowBranchingAsync StartFlowBranching(AsyncInitializer asyncBody, FlowBranching parent)
        {
            var branching = new FlowBranchingAsync(parent, asyncBody);

            current_flow_branching = branching;
            return(branching);
        }
예제 #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> > ();
 }
예제 #3
0
 public AsyncInitializerStatement(AsyncInitializer expr)
     : base(expr)
 {
 }
예제 #4
0
파일: async.cs 프로젝트: raj581/Marvin
 public AsyncTaskStorey(IMemberContext context, AsyncInitializer initializer, TypeSpec type)
     : base(initializer.OriginalBlock, initializer.Host, context.CurrentMemberDefinition as MemberBase, context.CurrentTypeParameters, "async")
 {
     return_type = type;
 }
예제 #5
0
 public AsyncTaskStorey(AsyncInitializer initializer, TypeSpec type)
     : base(initializer.OriginalBlock, initializer.Host, null, null, "async")
 {
     return_type = type;
 }