2003-11-26 Zoltan Varga <vargaz@freemail.hu>
authorZoltan Varga <vargaz@gmail.com>
Wed, 26 Nov 2003 15:14:39 +0000 (15:14 -0000)
committerZoltan Varga <vargaz@gmail.com>
Wed, 26 Nov 2003 15:14:39 +0000 (15:14 -0000)
* AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
Implement Load(byte[]) methods.

svn path=/trunk/mcs/; revision=20468

mcs/class/corlib/System/AppDomain.cs
mcs/class/corlib/System/ChangeLog

index 6082d72b9cd8a046124cc64220fcfd0dc4e3114a..03f1e95ad34fd0922d97fd8681c925b69ed40cec 100755 (executable)
@@ -495,13 +495,16 @@ namespace System {
                        return Load (rawAssembly, rawSymbolStore, new Evidence ());
                }
 
-               [MonoTODO]
+               [MethodImplAttribute (MethodImplOptions.InternalCall)]
+               private extern Assembly LoadAssemblyRaw (byte[] rawAssembly, byte[] rawSymbolStore,
+                                                        Evidence securityEvidence);
+
                public Assembly Load (byte[] rawAssembly, byte[] rawSymbolStore, Evidence securityEvidence)
                {
                        if (rawAssembly == null)
                                throw new ArgumentNullException ("rawAssembly");
                                
-                       throw new NotImplementedException ();
+                       return LoadAssemblyRaw (rawAssembly, rawSymbolStore, securityEvidence);
                }
                        
                [MonoTODO]
index e8095e3f372a1592de688b57a49210eedc7a7cba..59c8c8a1a477177857039657d069097a7519b47c 100644 (file)
@@ -1,5 +1,8 @@
 2003-11-26  Zoltan Varga  <vargaz@freemail.hu>
 
+       * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev). 
+       Implement Load(byte[]) methods.
+
        * BadImageFormatException.cs: Fix ToString.
 
 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>