dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection Assembly.c


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection Assembly.cs,1.15,1.16
Date: Tue, 10 Dec 2002 19:46:01 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection
In directory subversions:/tmp/cvs-serv18618/runtime/System/Reflection

Modified Files:
        Assembly.cs 
Log Message:


Attempt to load satellite assemblies for foreign language resources, before
falling back to the builtin English defaults.


Index: Assembly.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Assembly.cs,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** Assembly.cs 29 Nov 2002 03:28:30 -0000      1.15
--- Assembly.cs 11 Dec 2002 00:45:59 -0000      1.16
***************
*** 248,253 ****
        // Internal version of "LoadFrom".
        [MethodImpl(MethodImplOptions.InternalCall)]
!       extern private static Assembly LoadFromFile(String name, out int error,
!                                                                               
                Assembly parent);
  
        // Throw an exception based on a load error.
--- 248,253 ----
        // Internal version of "LoadFrom".
        [MethodImpl(MethodImplOptions.InternalCall)]
!       extern internal static Assembly LoadFromFile(String name, out int error,
!                                                                               
                 Assembly parent);
  
        // Throw an exception based on a load error.
***************
*** 428,431 ****
--- 428,438 ----
  
  #endif // !ECMA_COMPAT
+ 
+       // Get the full pathname of a satellite file underneath
+       // the directory containing this assembly.  Returns null
+       // if it isn't possible to retrieve the path or the file
+       // doesn't exist.
+       [MethodImpl(MethodImplOptions.InternalCall)]
+       extern internal String GetSatellitePath(String filename);
  
  }; // class Assembly




reply via email to

[Prev in Thread] Current Thread [Next in Thread]