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 AppDomain.cs,1.14,1.15


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System AppDomain.cs,1.14,1.15 Array.cs,1.21,1.22 AssemblyLoadEventArgs.cs,1.1,1.2 AssemblyLoadEventHandler.cs,1.1,1.2 AttributeTargets.cs,1.3,1.4 BadImageFormatException.cs,1.7,1.8 CannotUnloadAppDomainException.cs,1.6,1.7 EntryPointNotFoundException.cs,1.6,1.7 FieldAccessException.cs,1.6,1.7 MemberAccessException.cs,1.6,1.7 MethodAccessException.cs,1.6,1.7 MissingFieldException.cs,1.6,1.7 MissingMemberException.cs,1.7,1.8 MissingMethodException.cs,1.6,1.7 RuntimeFieldHandle.cs,1.5,1.6 RuntimeMethodHandle.cs,1.7,1.8 RuntimeTypeHandle.cs,1.5,1.6 String.cs,1.32,1.33 Type.cs,1.17,1.18 TypeLoadException.cs,1.7,1.8 TypeUnloadedException.cs,1.6,1.7 UnhandledExceptionEventArgs.cs,1.2,1.3 UnhandledExceptionEventHandler.cs,1.1,1.2
Date: Tue, 15 Apr 2003 01:13:45 -0400

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

Modified Files:
        AppDomain.cs Array.cs AssemblyLoadEventArgs.cs 
        AssemblyLoadEventHandler.cs AttributeTargets.cs 
        BadImageFormatException.cs CannotUnloadAppDomainException.cs 
        EntryPointNotFoundException.cs FieldAccessException.cs 
        MemberAccessException.cs MethodAccessException.cs 
        MissingFieldException.cs MissingMemberException.cs 
        MissingMethodException.cs RuntimeFieldHandle.cs 
        RuntimeMethodHandle.cs RuntimeTypeHandle.cs String.cs Type.cs 
        TypeLoadException.cs TypeUnloadedException.cs 
        UnhandledExceptionEventArgs.cs 
        UnhandledExceptionEventHandler.cs 
Log Message:


Mark up members of the "RuntimeInfrastructure" subset of ECMA
with CONFIG_RUNTIME_INFRA.


Index: AppDomain.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/AppDomain.cs,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** AppDomain.cs        15 Apr 2003 04:37:44 -0000      1.14
--- AppDomain.cs        15 Apr 2003 05:13:43 -0000      1.15
***************
*** 32,35 ****
--- 32,37 ----
  using System.Security.Principal;
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  public sealed class AppDomain : MarshalByRefObject, _AppDomain
  {
***************
*** 593,596 ****
--- 595,600 ----
  
  }; // class AppDomain
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: Array.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Array.cs,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** Array.cs    15 Apr 2003 04:37:44 -0000      1.21
--- Array.cs    15 Apr 2003 05:13:43 -0000      1.22
***************
*** 169,175 ****
--- 169,177 ----
        extern public static void Clear(Array array, int index, int length);
  
+ #if CONFIG_RUNTIME_INFRA
        // Initialize the contents of an array of value types.
        [MethodImpl(MethodImplOptions.InternalCall)]
        extern public void Initialize();
+ #endif
  
        // Clone this array.
***************
*** 725,728 ****
--- 727,732 ----
        extern int GetLength(int dimension);
  
+ #if CONFIG_RUNTIME_INFRA
+ 
        // Get the lower bound of an array rank.
        [MethodImpl(MethodImplOptions.InternalCall)]
***************
*** 732,735 ****
--- 736,751 ----
        [MethodImpl(MethodImplOptions.InternalCall)]
        extern public int GetUpperBound(int dimension);
+ 
+ #else // !CONFIG_RUNTIME_INFRA
+ 
+       // Get the lower bound of an array rank.
+       [MethodImpl(MethodImplOptions.InternalCall)]
+       extern internal int GetLowerBound(int dimension);
+ 
+       // Get the upper bound of an array rank.
+       [MethodImpl(MethodImplOptions.InternalCall)]
+       extern internal int GetUpperBound(int dimension);
+ 
+ #endif // !CONFIG_RUNTIME_INFRA
  
        // Internal versions of "GetValue".

Index: AssemblyLoadEventArgs.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/AssemblyLoadEventArgs.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** AssemblyLoadEventArgs.cs    23 Oct 2001 06:08:03 -0000      1.1
--- AssemblyLoadEventArgs.cs    15 Apr 2003 05:13:43 -0000      1.2
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Reflection;
  
***************
*** 47,50 ****
--- 49,54 ----
  
  }; // class AssemblyLoadEventArgs
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: AssemblyLoadEventHandler.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/AssemblyLoadEventHandler.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** AssemblyLoadEventHandler.cs 27 Oct 2001 03:02:03 -0000      1.1
--- AssemblyLoadEventHandler.cs 15 Apr 2003 05:13:43 -0000      1.2
***************
*** 23,28 ****
--- 23,32 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  public delegate void AssemblyLoadEventHandler(object sender,
                                                                                
          AssemblyLoadEventArgs args);
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: AttributeTargets.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/AttributeTargets.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** AttributeTargets.cs 15 Apr 2003 04:37:44 -0000      1.3
--- AttributeTargets.cs 15 Apr 2003 05:13:43 -0000      1.4
***************
*** 26,30 ****
--- 26,32 ----
  {
        Assembly                = 0x0001,
+ #if CONFIG_RUNTIME_INFRA
        Module                  = 0x0002,
+ #endif
        Class                   = 0x0004,
        Struct                  = 0x0008,

Index: BadImageFormatException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/BadImageFormatException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** BadImageFormatException.cs  7 Apr 2003 04:22:51 -0000       1.7
--- BadImageFormatException.cs  15 Apr 2003 05:13:43 -0000      1.8
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 139,142 ****
--- 141,146 ----
  
  }; // class BadImageFormatException
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: CannotUnloadAppDomainException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/CannotUnloadAppDomainException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** CannotUnloadAppDomainException.cs   7 Apr 2003 04:22:51 -0000       1.6
--- CannotUnloadAppDomainException.cs   15 Apr 2003 05:13:43 -0000      1.7
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 60,63 ****
--- 62,67 ----
  
  }; // class CannotUnloadAppDomainException
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: EntryPointNotFoundException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/EntryPointNotFoundException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** EntryPointNotFoundException.cs      7 Apr 2003 04:22:51 -0000       1.6
--- EntryPointNotFoundException.cs      15 Apr 2003 05:13:43 -0000      1.7
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 60,63 ****
--- 62,67 ----
  
  }; // class EntryPointNotFoundException
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: FieldAccessException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/FieldAccessException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** FieldAccessException.cs     7 Apr 2003 04:22:51 -0000       1.6
--- FieldAccessException.cs     15 Apr 2003 05:13:43 -0000      1.7
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 60,63 ****
--- 62,67 ----
  
  }; // class FieldAccessException
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: MemberAccessException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MemberAccessException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MemberAccessException.cs    7 Apr 2003 04:22:51 -0000       1.6
--- MemberAccessException.cs    15 Apr 2003 05:13:43 -0000      1.7
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 60,63 ****
--- 62,67 ----
  
  }; // class MemberAccessException
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: MethodAccessException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MethodAccessException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MethodAccessException.cs    7 Apr 2003 04:22:51 -0000       1.6
--- MethodAccessException.cs    15 Apr 2003 05:13:43 -0000      1.7
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 60,63 ****
--- 62,67 ----
  
  }; // class MethodAccessException
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: MissingFieldException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingFieldException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MissingFieldException.cs    7 Apr 2003 04:22:51 -0000       1.6
--- MissingFieldException.cs    15 Apr 2003 05:13:43 -0000      1.7
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 65,68 ****
--- 67,72 ----
  
  }; // class MissingFieldException
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: MissingMemberException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingMemberException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** MissingMemberException.cs   15 Apr 2003 04:37:44 -0000      1.7
--- MissingMemberException.cs   15 Apr 2003 05:13:43 -0000      1.8
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 93,96 ****
--- 95,100 ----
  
  }; // class MissingMemberException
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: MissingMethodException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingMethodException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MissingMethodException.cs   7 Apr 2003 04:22:51 -0000       1.6
--- MissingMethodException.cs   15 Apr 2003 05:13:43 -0000      1.7
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 65,68 ****
--- 67,72 ----
  
  }; // class MissingMethodException
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: RuntimeFieldHandle.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/RuntimeFieldHandle.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** RuntimeFieldHandle.cs       7 Apr 2003 04:22:51 -0000       1.5
--- RuntimeFieldHandle.cs       15 Apr 2003 05:13:43 -0000      1.6
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 70,73 ****
--- 72,77 ----
  
  }; // class RuntimeFieldHandle
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: RuntimeMethodHandle.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/RuntimeMethodHandle.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** RuntimeMethodHandle.cs      7 Apr 2003 04:22:51 -0000       1.7
--- RuntimeMethodHandle.cs      15 Apr 2003 05:13:43 -0000      1.8
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.CompilerServices;
  using System.Runtime.Serialization;
***************
*** 77,80 ****
--- 79,84 ----
  
  }; // class RuntimeMethodHandle
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: RuntimeTypeHandle.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/RuntimeTypeHandle.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** RuntimeTypeHandle.cs        7 Apr 2003 04:22:51 -0000       1.5
--- RuntimeTypeHandle.cs        15 Apr 2003 05:13:43 -0000      1.6
***************
*** 22,25 ****
--- 22,27 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 69,72 ****
--- 71,76 ----
  
  }; // class RuntimeTypeHandle
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: String.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/String.cs,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** String.cs   15 Apr 2003 04:37:44 -0000      1.32
--- String.cs   15 Apr 2003 05:13:43 -0000      1.33
***************
*** 2,6 ****
   * String.cs - Implementation of the "System.String" class.
   *
!  * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 2,6 ----
   * String.cs - Implementation of the "System.String" class.
   *
!  * Copyright (C) 2001, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 70,75 ****
        [MethodImpl(MethodImplOptions.InternalCall)]
        [CLSCompliant(false)]
!       extern unsafe public String(sbyte *value, int startIndex,
!                                                   int length, Encoding enc);
  
        [MethodImpl(MethodImplOptions.InternalCall)]
--- 70,80 ----
        [MethodImpl(MethodImplOptions.InternalCall)]
        [CLSCompliant(false)]
! #if CONFIG_RUNTIME_INFRA
!       public
! #else
!       internal
! #endif
!       extern unsafe String(sbyte *value, int startIndex,
!                                                int length, Encoding enc);
  
        [MethodImpl(MethodImplOptions.InternalCall)]

Index: Type.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Type.cs,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** Type.cs     4 Apr 2003 23:29:58 -0000       1.17
--- Type.cs     15 Apr 2003 05:13:43 -0000      1.18
***************
*** 835,838 ****
--- 835,839 ----
                        }
  
+ #if CONFIG_RUNTIME_INFRA
        // Get the runtime type handle associated with an object.
        [MethodImpl(MethodImplOptions.InternalCall)]
***************
*** 842,845 ****
--- 843,847 ----
        [MethodImpl(MethodImplOptions.InternalCall)]
        extern public static Type GetTypeFromHandle(RuntimeTypeHandle handle);
+ #endif
  
        // Implementation of the "HasElementType" property.
***************
*** 985,989 ****
--- 987,993 ----
  
        // Abstract properties.
+ #if CONFIG_RUNTIME_INFRA
        public abstract System.Reflection.Assembly Assembly { get; }
+ #endif
        public abstract String AssemblyQualifiedName { get; }
        public abstract Type BaseType { get; }
***************
*** 995,999 ****
--- 999,1005 ----
        public abstract String Namespace { get; }
        public abstract Type UnderlyingSystemType { get; }
+ #if CONFIG_RUNTIME_INFRA
        public abstract RuntimeTypeHandle TypeHandle { get; }
+ #endif
  
        // Implemented properties.

Index: TypeLoadException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/TypeLoadException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** TypeLoadException.cs        7 Apr 2003 04:22:51 -0000       1.7
--- TypeLoadException.cs        15 Apr 2003 05:13:43 -0000      1.8
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 114,117 ****
--- 116,121 ----
  
  }; // class TypeLoadException
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: TypeUnloadedException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/TypeUnloadedException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** TypeUnloadedException.cs    7 Apr 2003 04:22:51 -0000       1.6
--- TypeUnloadedException.cs    15 Apr 2003 05:13:43 -0000      1.7
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  using System.Runtime.Serialization;
  
***************
*** 60,63 ****
--- 62,67 ----
  
  }; // class TypeUnloadedException
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: UnhandledExceptionEventArgs.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/UnhandledExceptionEventArgs.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** UnhandledExceptionEventArgs.cs      6 Dec 2001 04:40:42 -0000       1.2
--- UnhandledExceptionEventArgs.cs      15 Apr 2003 05:13:43 -0000      1.3
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  public class UnhandledExceptionEventArgs : EventArgs
  {
***************
*** 56,59 ****
--- 58,63 ----
  
  }; // class UnhandledExceptionEventArgs
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System

Index: UnhandledExceptionEventHandler.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/UnhandledExceptionEventHandler.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** UnhandledExceptionEventHandler.cs   27 Oct 2001 03:02:03 -0000      1.1
--- UnhandledExceptionEventHandler.cs   15 Apr 2003 05:13:43 -0000      1.2
***************
*** 23,28 ****
--- 23,32 ----
  {
  
+ #if CONFIG_RUNTIME_INFRA
+ 
  public delegate void UnhandledExceptionEventHandler
                        (object sender, UnhandledExceptionEventArgs e);
+ 
+ #endif // CONFIG_RUNTIME_INFRA
  
  }; // namespace System





reply via email to

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