[Mono-bugs] [Bug 79535][Nor] New - Assembly.GetManifestResourceStream() should return an UnmanagedMemoryStream
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Sep 30 13:15:13 EDT 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 kornelpal at gmail.com.
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: mono-bugs at ximian.com
+ReportedBy: kornelpal at gmail.com
+QAContact: mono-bugs at ximian.com
+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
More information about the mono-bugs
mailing list