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 ClrHelpers


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection ClrHelpers.cs,1.6,1.7 ClrType.cs,1.15,1.16
Date: Tue, 15 Apr 2003 23:17:57 -0400

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

Modified Files:
        ClrHelpers.cs ClrType.cs 
Log Message:


Modifications to allow the library to be built with the
"RuntimeInfrastructure" subset turned off.


Index: ClrHelpers.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrHelpers.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ClrHelpers.cs       15 Apr 2003 11:22:32 -0000      1.6
--- ClrHelpers.cs       16 Apr 2003 03:17:55 -0000      1.7
***************
*** 61,64 ****
--- 61,65 ----
                        }
  
+ #if CONFIG_RUNTIME_INFRA
        // Get the declaring type for a program item.
        public static Type GetDeclaringType(IClrProgramItem item)
***************
*** 67,70 ****
--- 68,72 ----
                                        (new 
RuntimeTypeHandle(GetDeclaringType(item.ClrHandle)));
                        }
+ #endif
  
        // Get the name that is associated with a program item.

Index: ClrType.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrType.cs,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** ClrType.cs  15 Apr 2003 11:22:32 -0000      1.15
--- ClrType.cs  16 Apr 2003 03:17:55 -0000      1.16
***************
*** 128,134 ****
--- 128,136 ----
                        }
  
+ #if CONFIG_RUNTIME_INFRA
        // Internal methods for supporting the properties.
        [MethodImpl(MethodImplOptions.InternalCall)]
        extern private System.Reflection.Assembly GetClrAssembly();
+ #endif
  
        [MethodImpl(MethodImplOptions.InternalCall)]





reply via email to

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