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/Runtime/InteropServic


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/InteropServices Marshal.cs,1.6,1.7
Date: Tue, 15 Apr 2003 07:22:35 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices
In directory 
subversions:/tmp/cvs-serv12653/runtime/System/Runtime/InteropServices

Modified Files:
        Marshal.cs 
Log Message:


Mark up members of the "Reflection" ECMA subset with CONFIG_REFLECTION.


Index: Marshal.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/Marshal.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** Marshal.cs  15 Apr 2003 05:13:43 -0000      1.6
--- Marshal.cs  15 Apr 2003 11:22:33 -0000      1.7
***************
*** 360,367 ****
--- 360,369 ----
                                throw new NotImplementedException();
                        }
+ #if CONFIG_REFLECTION
        public static int GetComSlotForMethodInfo(MethodInfo m)
                        {
                                throw new NotImplementedException();
                        }
+ #endif
        public static int GetEndComSlot(Type t)
                        {
***************
*** 380,384 ****
                                throw new NotImplementedException();
                        }
! #if !ECMA_COMPAT
        public static MemberInfo GetMethodInfoForComSlot
                                (Type t, int slot, ref ComMemberType memberType)
--- 382,386 ----
                                throw new NotImplementedException();
                        }
! #if !ECMA_COMPAT && CONFIG_REFLECTION
        public static MemberInfo GetMethodInfoForComSlot
                                (Type t, int slot, ref ComMemberType memberType)
***************
*** 497,504 ****
--- 499,508 ----
                                throw new NotImplementedException();
                        }
+ #if CONFIG_REFLECTION
        public static IntPtr GetHINSTANCE(Module m)
                        {
                                throw new NotImplementedException();
                        }
+ #endif
        public static int GetHRForException(Exception e)
                        {
***************
*** 536,539 ****
--- 540,544 ----
                                throw new NotImplementedException();
                        }
+ #if CONFIG_REFLECTION
        public static int NumParamBytes(MethodInfo m)
                        {
***************
*** 544,547 ****
--- 549,553 ----
                                throw new NotImplementedException();
                        }
+ #endif
        public static void PrelinkAll(Type c)
                        {
***************
*** 573,576 ****
--- 579,583 ----
        }
  
+ #if CONFIG_REFLECTION
        public static Object PtrToStructure(IntPtr ptr, Type structureType)
        {
***************
*** 579,582 ****
--- 586,590 ----
                return obj;
        }
+ #endif
  
        public static IntPtr StringToBSTR(String s)





reply via email to

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