mono/monodevelop — pull request #313 by alanmcgovern (2013-06-25 04:14:57+00:00)
Title: [CSharp] Fix cancellation propagation

We should check for IsCancelled before we get the result, otherwise
we will end up throwing an AggregateException which wraps the
TaskCanceledException. This is not what we want.