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 [EMAIL PROTECTED]

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

--- shadow/79535        2006-09-30 13:15:13.000000000 -0400
+++ shadow/79535.tmp.2418       2006-09-30 13:15:13.000000000 -0400
@@ -0,0 +1,33 @@
+Bug#: 79535
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Assembly.GetManifestResourceStream() should return an 
UnmanagedMemoryStream
+
+MS.NET 2.0 returns all resource streams as instances of the public 
+UnmanagedMemoryStream class. MS.NET 1.x returns an internal class named 
+__UnmanagedMemoryStream that seems to be similar to UnmanagedMemoryStream 
+in functionality.
+
+Mono however returns either FileStream or and internal IntPtrStream.
+
+I think Mono should return UnmanagedMemoryStream like MS.NET does because 
+this improves compatibility. And I think profile 1.x should use the same 
+UnmanagedMemoryStream as an internal class.
+
+Note that this behavior is documented in the example code on 
+http://msdn2.microsoft.com/en-
+us/library/system.reflection.emit.modulebuilder.definemanifestresource.asp
+x
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to