Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorJackson Harper <jackson@novell.com>2006-01-06 04:21:26 +0300
committerJackson Harper <jackson@novell.com>2006-01-06 04:21:26 +0300
commitfa4d70c7ebad27397d3d1c7c5b70665bc5424761 (patch)
treea57e816c6a0f17615641126b574d14551fed6e05 /mcs
parentfd2d25c818018a925b8455732f7b28181a97f0d3 (diff)
fix 2.0 profile.
svn path=/trunk/mcs/; revision=55124
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIDriver.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIDriver.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIDriver.cs
index 83d820ac6ab..7b9a8e8990d 100644
--- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIDriver.cs
+++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIDriver.cs
@@ -240,7 +240,7 @@ namespace System.Windows.Forms {
internal static void ExecutionCallback (object state)
{
AsyncMethodData data = (AsyncMethodData) state;
- AsyncMethodResult result = data.Result.Target as AsyncMethodResult;
+ AsyncMethodResult result = data.Result;
object ret = data.Method.DynamicInvoke (data.Args);
if (result != null) {
result.Complete (ret);