Apparently with MONO MethodInvoker with BeginInvoke is throwing errors. Which I find odd, since Begin Invoke requires 4 arguments not 2.
This commit is contained in:
parent
fbdf46d493
commit
83193125b8
1 changed files with 4 additions and 2 deletions
|
|
@ -43,7 +43,9 @@ namespace Server.Reflection
|
|||
return m_MethodHandler.Invoke( target, parameters );
|
||||
}
|
||||
|
||||
public IAsyncResult BeginInvoke( object target, object[] parameters, AsyncCallback callback, object obj )
|
||||
// Apparently this doesn't work in Mono atm, which I find it weird because BeginInvoke requires 4 arguments not '2'
|
||||
// Error: No overload for method `BeginInvoke' takes `2' arguments
|
||||
/*public IAsyncResult BeginInvoke( object target, object[] parameters, AsyncCallback callback, object obj )
|
||||
{
|
||||
if ( m_MethodEmpty )
|
||||
return null;
|
||||
|
|
@ -57,6 +59,6 @@ namespace Server.Reflection
|
|||
return null;
|
||||
|
||||
return m_MethodHandler.EndInvoke( asyncResult );
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue