[Mono-bugs] [Bug 77523][Nor] New - PtrToStructure(IntPtr, object) should throw exception if object is not formatted class

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 10 09:49:56 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jonathan.chambers at ansys.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77523

--- shadow/77523	2006-02-10 09:49:56.000000000 -0500
+++ shadow/77523.tmp.24317	2006-02-10 09:49:56.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 77523
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: jonathan.chambers at ansys.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: PtrToStructure(IntPtr, object) should throw exception if object is not formatted class
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+PtrToStructure(IntPtr, object) should throw exception if object is not
+formatted class. PtrToStructure(IntPtr, Type) can take struct or formatted
+class, but PtrToStructure(IntPtr, object) can only take formatted classes.
+
+Steps to reproduce the problem:
+1. Run test case on .Net and mono
+
+Actual Results:
+no exception under mono
+
+Expected Results:
+exception under .net
+
+
+How often does this happen? 
+every time.
+
+
+Additional Information:


More information about the mono-bugs mailing list