[Mono-bugs] [Bug 79535][Nor] Changed - Assembly.GetManifestResourceStream() should return an UnmanagedMemoryStream

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Oct 2 05:54:59 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.26237	2006-10-02 05:54:59.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: kornelpal at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -28,6 +28,17 @@
 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
+
+------- Additional Comments From kornelpal at gmail.com  2006-10-02 05:54 -------
+I forgot to mention that the goal of using UnmanagedMemoryStream is 
+that the user will have access to the actual unmanaged memory 
+pointer so no buffer allocation or memcpy is required to use the 
+resources.
+
+Note that I don't really understand why is a Closed required in 
+current IntPtrStream. As far as I know modules are unloaded only 
+when the AppDomain is unloaded so the pointer should be valid at 
+least for the life time of the AppDomain.


More information about the mono-bugs mailing list