Bug 524567

Summary: WaitHandle.WaitAny is not working at all
Product: [Mono] Mono: Runtime Reporter: zolof 637 <prince0>
Component: interopAssignee: Mono Bugs <mono-bugs>
Status: RESOLVED DUPLICATE QA Contact: Mono Bugs <mono-bugs>
Severity: Major    
Priority: P5 - None CC: bdginc
Version: 2.4.x   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description zolof 637 2009-07-23 11:09:16 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)

Exception:
WARNING **: Missing method System.Threading.WaitHandle::WaitAny(WaitHandle[],int) in assembly C:\PROGRA~1\Mono-2.4\
lib\mono\2.0\mscorlib.dll, referenced in assembly C:\ConsoleApplication2\ConsoleApplication2\bin\Debug\ConsoleApplication2.exe

Unhandled Exception: System.MissingMethodException: Method not found: 'System.Threading.WaitHandle.WaitAny'.


Reproducible: Always

Steps to Reproduce:
EventWaitHandle evt = new EventWaitHandle(false, EventResetMode.AutoReset);
WaitHandle[] handles = new WaitHandle[1];
handles[0] = evt;
int = Mutex.WaitAny(handles, 50);
Actual Results:  
Exception (method is missing in runtime)

Expected Results:  
No exception should occur
Comment 1 Gonzalo Paniagua Javier 2009-07-23 11:48:30 UTC
See comments in the duplicate bug. This was fixed some time ago.

*** This bug has been marked as a duplicate of bug 517208 ***
Comment 2 Brad Gronek 2009-11-23 23:07:14 UTC
Thank you all for your hard work on this.  I'm wondering when it might be included in a release?  It seems the sister bug was actually fixed in April.  

It's currently stopping me dead in the water after having just purchased the vs tools and starting my porting / testing for Mono.