anchor.diff:                          null
   
                   match edi with
  -                | null -> TaskHelpers.continueWithUnit(task, args)
  +                | null -> TaskHelpers.continueWithUnit (task, args, true)
                   | _ -> aux.econt edi
               )
   #else
  
positive.code: 
              task.ContinueWith(Action<Task<'T>>(continuation), TaskContinuationOptions.None) |> ignore |> fake
  
          let continueWithUnit (task : Task, args) = 
  
              let continuation (completedTask : Task) : unit =
                  args.aux.trampolineHolder.Protect((fun () ->
                      if completedTask.IsCanceled then
                          args.aux.econt (ExceptionDispatchInfo.Capture(new OperationCanceledException()))
                      elif completedTask.IsFaulted then
                          args.aux.econt (MayLoseStackTrace(completedTask.Exception))
                      else
  
negative.code: #if FX_NO_BEGINEND_READWRITE
                  // use combo protectedPrimitiveWithResync + continueWith instead of AwaitTask so we can pass cancellation token to the WriteAsync task
                  protectedPrimitiveWithResync ( fun ({ aux = aux} as args) ->
                      TaskHelpers.continueWithUnit(stream.WriteAsync(buffer, offset, count, aux.token), args, false)
                      )
  #else
                  Async.FromBeginEnd (buffer,offset,count,stream.BeginWrite,stream.EndWrite)
  