[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection AmbiguousMa
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection AmbiguousMatchException.cs,1.6,1.7 Assembly.cs,1.22,1.23 AssemblyVersionAttribute.cs,1.2,1.3 Binder.cs,1.2,1.3 BindingFlags.cs,1.1.1.1,1.2 ClrConstructor.cs,1.4,1.5 ClrEvent.cs,1.4,1.5 ClrField.cs,1.5,1.6 ClrHelpers.cs,1.5,1.6 ClrMethod.cs,1.5,1.6 ClrParameter.cs,1.2,1.3 ClrProperty.cs,1.4,1.5 ClrReflectionAttribute.cs,1.1,1.2 ClrResourceStream.cs,1.6,1.7 ClrType.cs,1.14,1.15 ConstructorInfo.cs,1.3,1.4 EventAttributes.cs,1.1,1.2 EventInfo.cs,1.4,1.5 FieldAttributes.cs,1.1,1.2 FieldInfo.cs,1.4,1.5 ICustomAttributeProvider.cs,1.1,1.2 IReflect.cs,1.2,1.3 InterfaceMapping.cs,1.1,1.2InvalidFilterCriteriaException.cs,1.3,1.4 ManifestResourceInfo.cs,1.1,1.2 MemberInfo.cs,1.5,1.6 MemberTypes.cs,1.1,1.2 MethodAttributes.cs,1.1,1.2 MethodBase.cs,1.5,1.6 MethodImplAttributes.cs,1.2,1.3 MethodInfo.cs,1.3,1.4 MethodSemanticsAttributes.cs,1.1,1.2 Missing.cs,1.1.1.1,1.2 Module.cs,1.8,1.9 ParameterAttributes.cs,1.1,1.2 ParameterInfo.cs,1.5,1.6 ParameterModifier.cs,1.2,1.3 PropertyAttributes.cs,1.2,1.3 PropertyInfo.cs,1.3,1.4 ResourceAttributes.cs,1.1,1.2 ResourceLocation.cs,1.1,1.2 TargetException.cs,1.6,1.7 TargetInvocationException.cs,1.6,1.7 TargetParameterCountException.cs,1.6,1.7 TypeAttributes.cs,1.2,1.3 |
Date: |
Tue, 15 Apr 2003 07:22:36 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection
In directory subversions:/tmp/cvs-serv12653/runtime/System/Reflection
Modified Files:
AmbiguousMatchException.cs Assembly.cs
AssemblyVersionAttribute.cs Binder.cs BindingFlags.cs
ClrConstructor.cs ClrEvent.cs ClrField.cs ClrHelpers.cs
ClrMethod.cs ClrParameter.cs ClrProperty.cs
ClrReflectionAttribute.cs ClrResourceStream.cs ClrType.cs
ConstructorInfo.cs EventAttributes.cs EventInfo.cs
FieldAttributes.cs FieldInfo.cs ICustomAttributeProvider.cs
IReflect.cs InterfaceMapping.cs
InvalidFilterCriteriaException.cs ManifestResourceInfo.cs
MemberInfo.cs MemberTypes.cs MethodAttributes.cs MethodBase.cs
MethodImplAttributes.cs MethodInfo.cs
MethodSemanticsAttributes.cs Missing.cs Module.cs
ParameterAttributes.cs ParameterInfo.cs ParameterModifier.cs
PropertyAttributes.cs PropertyInfo.cs ResourceAttributes.cs
ResourceLocation.cs TargetException.cs
TargetInvocationException.cs TargetParameterCountException.cs
TypeAttributes.cs
Log Message:
Mark up members of the "Reflection" ECMA subset with CONFIG_REFLECTION.
Index: AmbiguousMatchException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/AmbiguousMatchException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** AmbiguousMatchException.cs 7 Apr 2003 04:22:51 -0000 1.6
--- AmbiguousMatchException.cs 15 Apr 2003 11:22:32 -0000 1.7
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Runtime.Serialization;
***************
*** 61,64 ****
--- 63,68 ----
}; // class AmbiguousMatchException
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: Assembly.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Assembly.cs,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** Assembly.cs 15 Apr 2003 05:13:43 -0000 1.22
--- Assembly.cs 15 Apr 2003 11:22:32 -0000 1.23
***************
*** 31,35 ****
using System.Runtime.CompilerServices;
! public class Assembly : IClrProgramItem, ICustomAttributeProvider
{
--- 31,38 ----
using System.Runtime.CompilerServices;
! public class Assembly : IClrProgramItem
! #if CONFIG_REFLECTION
! , ICustomAttributeProvider
! #endif
{
***************
*** 49,52 ****
--- 52,57 ----
}
+ #if CONFIG_REFLECTION
+
// Create an instance of a specific type within this assembly.
public Object CreateInstance(String typeName)
***************
*** 84,87 ****
--- 89,94 ----
}
+ #endif // CONFIG_REFLECTION
+
#if !ECMA_COMPAT
***************
*** 113,117 ****
}
! #else // ECMA_COMPAT
// Get the custom attributes associated with this assembly.
--- 120,124 ----
}
! #elif CONFIG_REFLECTION
// Get the custom attributes associated with this assembly.
***************
*** 132,136 ****
}
! #endif // ECMA_COMPAT
--- 139,143 ----
}
! #endif // CONFIG_REFLECTION
Index: AssemblyVersionAttribute.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/AssemblyVersionAttribute.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** AssemblyVersionAttribute.cs 16 Dec 2002 06:28:14 -0000 1.2
--- AssemblyVersionAttribute.cs 15 Apr 2003 11:22:32 -0000 1.3
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if !ECMA_COMPAT
+
using System;
using System.Configuration.Assemblies;
***************
*** 50,53 ****
--- 52,57 ----
}; // class AssemblyVersionAttribute
+
+ #endif // !ECMA_COMPAT
}; // namespace System.Reflection
Index: Binder.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Binder.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Binder.cs 27 Oct 2001 03:00:06 -0000 1.2
--- Binder.cs 15 Apr 2003 11:22:32 -0000 1.3
***************
*** 22,25 ****
--- 22,27 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Globalization;
***************
*** 68,71 ****
--- 70,75 ----
}; // class Binder
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: BindingFlags.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/BindingFlags.cs,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** BindingFlags.cs 7 Aug 2001 22:51:46 -0000 1.1.1.1
--- BindingFlags.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
[Flags]
public enum BindingFlags
***************
*** 48,51 ****
--- 50,55 ----
}; // enum BindingFlags
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ClrConstructor.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrConstructor.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ClrConstructor.cs 6 Nov 2002 05:27:05 -0000 1.4
--- ClrConstructor.cs 15 Apr 2003 11:22:32 -0000 1.5
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Text;
***************
*** 187,190 ****
--- 189,194 ----
}; // class ClrConstructor
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ClrEvent.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrEvent.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ClrEvent.cs 6 Dec 2001 04:40:42 -0000 1.4
--- ClrEvent.cs 15 Apr 2003 11:22:32 -0000 1.5
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Runtime.CompilerServices;
***************
*** 116,119 ****
--- 118,123 ----
}; // class ClrEvent
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ClrField.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrField.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ClrField.cs 20 Mar 2003 06:22:59 -0000 1.5
--- ClrField.cs 15 Apr 2003 11:22:32 -0000 1.6
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Text;
***************
*** 147,150 ****
--- 149,154 ----
}; // class ClrField
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ClrHelpers.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrHelpers.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ClrHelpers.cs 3 Dec 2001 11:16:14 -0000 1.5
--- ClrHelpers.cs 15 Apr 2003 11:22:32 -0000 1.6
***************
*** 74,77 ****
--- 74,79 ----
}
+ #if CONFIG_REFLECTION
+
// Get a ParameterInfo block for a specific method parameter.
// Zero indicates the return type.
***************
*** 87,90 ****
--- 89,94 ----
}
+ #endif // CONFIG_REFLECTION
+
// Convert a type into a CLR handle value, after validating
// that it is indeed a CLR type.
***************
*** 99,103 ****
--- 103,111 ----
throw new ArgumentNullException(name);
}
+ #if CONFIG_REFLECTION
if((clrType = (type.UnderlyingSystemType as
ClrType)) == null)
+ #else
+ if((clrType = (type as ClrType)) == null)
+ #endif
{
throw new
ArgumentException(_("Arg_MustBeType"), name);
***************
*** 162,165 ****
--- 170,175 ----
extern public static CallingConventions GetCallConv(IntPtr item);
+ #if CONFIG_REFLECTION
+
// Get the implementation attributes for a method program item.
[MethodImpl(MethodImplOptions.InternalCall)]
***************
*** 175,178 ****
--- 185,190 ----
extern public static bool HasSemantics
(IntPtr item, MethodSemanticsAttributes type, bool
nonPublic);
+
+ #endif // CONFIG_REFLECTION
// Determine if the caller has permission to access a specific member.
Index: ClrMethod.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrMethod.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ClrMethod.cs 6 Nov 2002 05:29:51 -0000 1.5
--- ClrMethod.cs 15 Apr 2003 11:22:32 -0000 1.6
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Globalization;
***************
*** 199,202 ****
--- 201,206 ----
}; // class ClrMethod
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ClrParameter.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrParameter.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** ClrParameter.cs 5 Apr 2003 06:58:12 -0000 1.2
--- ClrParameter.cs 15 Apr 2003 11:22:32 -0000 1.3
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Runtime.CompilerServices;
***************
*** 138,141 ****
--- 140,145 ----
}; // class ClrParameter
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ClrProperty.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrProperty.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ClrProperty.cs 6 Nov 2002 05:27:05 -0000 1.4
--- ClrProperty.cs 15 Apr 2003 11:22:32 -0000 1.5
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Text;
***************
*** 294,297 ****
--- 296,301 ----
}; // class RuntimePropertyInfo
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ClrReflectionAttribute.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrReflectionAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ClrReflectionAttribute.cs 2 Dec 2001 22:00:06 -0000 1.1
--- ClrReflectionAttribute.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
// This attribute is used to mark methods on the stack that
// have full access to the private internals of classes
***************
*** 34,37 ****
--- 36,41 ----
}; // class ClrReflectionAttribute
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ClrResourceStream.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrResourceStream.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ClrResourceStream.cs 16 Jun 2002 05:53:03 -0000 1.6
--- ClrResourceStream.cs 15 Apr 2003 11:22:32 -0000 1.7
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.IO;
***************
*** 299,302 ****
--- 301,306 ----
}; // class ClrResourceStream
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ClrType.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ClrType.cs,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** ClrType.cs 15 Apr 2003 05:13:43 -0000 1.14
--- ClrType.cs 15 Apr 2003 11:22:32 -0000 1.15
***************
*** 66,71 ****
--- 66,189 ----
// Get the attribute flags for this type.
+ #if CONFIG_REFLECTION
[MethodImpl(MethodImplOptions.InternalCall)]
extern protected override TypeAttributes GetAttributeFlagsImpl();
+ #else
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern internal override TypeAttributes GetAttributeFlagsImpl();
+ #endif
+
+ // Get the category of this type. Array, pointer, byref, primitive,
etc.
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern private ClrTypeCategory GetClrTypeCategory();
+
+ // Get the element type for this type.
+ #if CONFIG_REFLECTION
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern public override Type GetElementType();
+ #else
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern internal override Type GetElementType();
+ #endif
+
+ // Get all interfaces that this type implements.
+ #if CONFIG_REFLECTION
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern public override Type[] GetInterfaces();
+ #else
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern internal override Type[] GetInterfaces();
+ #endif
+
+ // Implementation of the "IsArray" property.
+ protected override bool IsArrayImpl()
+ {
+ return (GetClrTypeCategory() ==
ClrTypeCategory.Array);
+ }
+
+ // Implementation of the "IsPointer" property.
+ protected override bool IsPointerImpl()
+ {
+ return (GetClrTypeCategory() ==
ClrTypeCategory.Pointer);
+ }
+
+ // Implementation of the "IsPrimitive" property.
+ #if CONFIG_REFLECTION
+ protected override bool IsPrimitiveImpl()
+ #else
+ internal override bool IsPrimitiveImpl()
+ #endif
+ {
+ return (GetClrTypeCategory() ==
ClrTypeCategory.Primitive);
+ }
+
+ // Determine if the current type is a subclass of another type.
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern public override bool IsSubclassOf(Type c);
+
+ // Convert this type into a string.
+ public override String ToString()
+ {
+ return GetClrFullName();
+ }
+
+ // Internal methods for supporting the properties.
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern private System.Reflection.Assembly GetClrAssembly();
+
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern private Type GetClrBaseType();
+
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern private String GetClrFullName();
+
+ // Properties that are accessible even if no reflection.
+ public override String AssemblyQualifiedName
+ {
+ get
+ {
+ #if CONFIG_RUNTIME_INFRA
+ return FullName + ", " +
Assembly.ToString();
+ #else
+ return FullName;
+ #endif
+ }
+ }
+ public override Type BaseType
+ {
+ get
+ {
+ return GetClrBaseType();
+ }
+ }
+ public override String FullName
+ {
+ get
+ {
+ return GetClrFullName();
+ }
+ }
+
+ #if CONFIG_RUNTIME_INFRA
+
+ // Runtime infrastructure properties.
+ public override RuntimeTypeHandle TypeHandle
+ {
+ get
+ {
+ return new
RuntimeTypeHandle(privateData);
+ }
+ }
+ public override System.Reflection.Assembly Assembly
+ {
+ get
+ {
+ return GetClrAssembly();
+ }
+ }
+
+ #endif // CONFIG_RUNTIME_INFRA
+
+ #if CONFIG_REFLECTION
// Get the custom attributes for this type.
***************
*** 85,92 ****
}
- // Get the element type for this type.
- [MethodImpl(MethodImplOptions.InternalCall)]
- extern public override Type GetElementType();
-
// Get the hash code for this type.
public override int GetHashCode()
--- 203,206 ----
***************
*** 101,108 ****
extern public override Type GetInterface(String name, bool ignoreCase);
- // Get all interfaces that this type implements.
- [MethodImpl(MethodImplOptions.InternalCall)]
- extern public override Type[] GetInterfaces();
-
// Get a member from this type. The member could be a field,
// method, constructor, event, property, or nested type.
--- 215,218 ----
***************
*** 619,632 ****
}
- // Get the category of this type. Array, pointer, byref, primitive,
etc.
- [MethodImpl(MethodImplOptions.InternalCall)]
- extern private ClrTypeCategory GetClrTypeCategory();
-
- // Implementation of the "IsArray" property.
- protected override bool IsArrayImpl()
- {
- return (GetClrTypeCategory() ==
ClrTypeCategory.Array);
- }
-
// Implementation of the "IsByRef" property.
protected override bool IsByRefImpl()
--- 729,732 ----
***************
*** 653,692 ****
}
- // Implementation of the "IsPointer" property.
- protected override bool IsPointerImpl()
- {
- return (GetClrTypeCategory() ==
ClrTypeCategory.Pointer);
- }
-
- // Implementation of the "IsPrimitive" property.
- protected override bool IsPrimitiveImpl()
- {
- return (GetClrTypeCategory() ==
ClrTypeCategory.Primitive);
- }
-
- // Determine if the current type is a subclass of another type.
- [MethodImpl(MethodImplOptions.InternalCall)]
- extern public override bool IsSubclassOf(Type c);
-
// Determine if this is a nested type.
[MethodImpl(MethodImplOptions.InternalCall)]
extern private bool IsClrNestedType();
- // Convert this type into a string.
- public override String ToString()
- {
- return GetClrFullName();
- }
-
- // Internal methods for supporting the properties.
- [MethodImpl(MethodImplOptions.InternalCall)]
- extern private System.Reflection.Assembly GetClrAssembly();
-
- [MethodImpl(MethodImplOptions.InternalCall)]
- extern private Type GetClrBaseType();
-
- [MethodImpl(MethodImplOptions.InternalCall)]
- extern private String GetClrFullName();
-
#if !ECMA_COMPAT
[MethodImpl(MethodImplOptions.InternalCall)]
--- 753,760 ----
***************
*** 706,740 ****
extern private String GetClrNamespace();
- #if CONFIG_RUNTIME_INFRA
// Implement overridden properties.
- public override System.Reflection.Assembly Assembly
- {
- get
- {
- return GetClrAssembly();
- }
- }
- #endif
- public override String AssemblyQualifiedName
- {
- get
- {
- return FullName + ", " +
Assembly.ToString();
- }
- }
- public override Type BaseType
- {
- get
- {
- return GetClrBaseType();
- }
- }
- public override String FullName
- {
- get
- {
- return GetClrFullName();
- }
- }
#if !ECMA_COMPAT
public override Guid GUID
--- 774,778 ----
***************
*** 816,828 ****
}
}
- #if CONFIG_RUNTIME_INFRA
- public override RuntimeTypeHandle TypeHandle
- {
- get
- {
- return new
RuntimeTypeHandle(privateData);
- }
- }
- #endif
// Internal methods that support generic types.
--- 854,857 ----
***************
*** 842,845 ****
--- 871,876 ----
[MethodImpl(MethodImplOptions.InternalCall)]
extern public override Type GetGenericType();
+
+ #endif // CONFIG_REFLECTION
}; // class ClrType
Index: ConstructorInfo.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ConstructorInfo.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ConstructorInfo.cs 2 Dec 2001 09:29:50 -0000 1.3
--- ConstructorInfo.cs 15 Apr 2003 11:22:32 -0000 1.4
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Globalization;
***************
*** 55,58 ****
--- 57,62 ----
}; // class ConstructorInfo
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: EventAttributes.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/EventAttributes.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** EventAttributes.cs 27 Oct 2001 03:00:06 -0000 1.1
--- EventAttributes.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
public enum EventAttributes
{
***************
*** 32,35 ****
--- 34,39 ----
}; // enum EventAttributes
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: EventInfo.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/EventInfo.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** EventInfo.cs 6 Dec 2001 04:40:42 -0000 1.4
--- EventInfo.cs 15 Apr 2003 11:22:32 -0000 1.5
***************
*** 22,25 ****
--- 22,27 ----
{
+ #if CONFIG_REFLECTION
+
using System;
***************
*** 151,154 ****
--- 153,158 ----
}; // class EventInfo
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: FieldAttributes.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/FieldAttributes.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** FieldAttributes.cs 27 Oct 2001 03:00:06 -0000 1.1
--- FieldAttributes.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
public enum FieldAttributes
{
***************
*** 46,49 ****
--- 48,53 ----
}; // enum FieldAttributes
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: FieldInfo.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/FieldInfo.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** FieldInfo.cs 2 Dec 2001 09:29:50 -0000 1.4
--- FieldInfo.cs 15 Apr 2003 11:22:32 -0000 1.5
***************
*** 22,25 ****
--- 22,27 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Runtime.CompilerServices;
***************
*** 179,182 ****
--- 181,186 ----
}; // class FieldInfo
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ICustomAttributeProvider.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ICustomAttributeProvider.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ICustomAttributeProvider.cs 29 Nov 2001 05:20:05 -0000 1.1
--- ICustomAttributeProvider.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
***************
*** 38,41 ****
--- 40,45 ----
}; // interface ICustomAttributeProvider
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: IReflect.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/IReflect.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** IReflect.cs 9 Jan 2003 23:16:07 -0000 1.2
--- IReflect.cs 15 Apr 2003 11:22:32 -0000 1.3
***************
*** 22,25 ****
--- 22,27 ----
{
+ #if !ECMA_COMPAT
+
using System;
using System.Globalization;
***************
*** 49,52 ****
--- 51,56 ----
}; // interface IReflect
+
+ #endif // !ECMA_COMPAT
}; // namespace System.Reflection
Index: InterfaceMapping.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/InterfaceMapping.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** InterfaceMapping.cs 4 May 2002 05:16:06 -0000 1.1
--- InterfaceMapping.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 23,27 ****
{
! #if !ECMA_COMPAT
public struct InterfaceMapping
--- 23,27 ----
{
! #if !ECMA_COMPAT && CONFIG_REFLECTION
public struct InterfaceMapping
Index: InvalidFilterCriteriaException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/InvalidFilterCriteriaException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** InvalidFilterCriteriaException.cs 5 Apr 2003 06:58:12 -0000 1.3
--- InvalidFilterCriteriaException.cs 15 Apr 2003 11:22:32 -0000 1.4
***************
*** 23,27 ****
{
! #if !ECMA_COMPAT
using System;
--- 23,27 ----
{
! #if !ECMA_COMPAT && CONFIG_REFLECTION
using System;
Index: ManifestResourceInfo.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ManifestResourceInfo.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ManifestResourceInfo.cs 13 Apr 2002 02:57:32 -0000 1.1
--- ManifestResourceInfo.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
***************
*** 76,79 ****
--- 78,83 ----
}; // class ManifestResourceInfo
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: MemberInfo.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/MemberInfo.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** MemberInfo.cs 2 Dec 2001 09:29:50 -0000 1.5
--- MemberInfo.cs 15 Apr 2003 11:22:32 -0000 1.6
***************
*** 22,25 ****
--- 22,27 ----
{
+ #if CONFIG_REFLECTION
+
public abstract class MemberInfo : ICustomAttributeProvider
{
***************
*** 57,60 ****
--- 59,64 ----
}; // class MemberInfo
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: MemberTypes.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/MemberTypes.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MemberTypes.cs 27 Oct 2001 03:00:06 -0000 1.1
--- MemberTypes.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
public enum MemberTypes
{
***************
*** 37,40 ****
--- 39,44 ----
}; // enum MemberTypes
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: MethodAttributes.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/MethodAttributes.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MethodAttributes.cs 27 Oct 2001 03:00:06 -0000 1.1
--- MethodAttributes.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
public enum MethodAttributes
{
***************
*** 50,53 ****
--- 52,57 ----
}; // enum MethodAttributes
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: MethodBase.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/MethodBase.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** MethodBase.cs 15 Apr 2003 05:13:43 -0000 1.5
--- MethodBase.cs 15 Apr 2003 11:22:32 -0000 1.6
***************
*** 22,25 ****
--- 22,27 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Globalization;
***************
*** 197,200 ****
--- 199,204 ----
}; // class MethodBase
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: MethodImplAttributes.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/MethodImplAttributes.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** MethodImplAttributes.cs 28 Feb 2003 14:52:06 -0000 1.2
--- MethodImplAttributes.cs 15 Apr 2003 11:22:32 -0000 1.3
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
public enum MethodImplAttributes
{
***************
*** 41,44 ****
--- 43,48 ----
}; // enum MethodImplAttributes
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: MethodInfo.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/MethodInfo.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** MethodInfo.cs 2 Dec 2001 09:29:50 -0000 1.3
--- MethodInfo.cs 15 Apr 2003 11:22:32 -0000 1.4
***************
*** 22,25 ****
--- 22,27 ----
{
+ #if CONFIG_REFLECTION
+
public abstract class MethodInfo : MethodBase
{
***************
*** 52,55 ****
--- 54,59 ----
}; // class MethodInfo
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: MethodSemanticsAttributes.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/MethodSemanticsAttributes.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MethodSemanticsAttributes.cs 27 Oct 2001 03:00:06 -0000 1.1
--- MethodSemanticsAttributes.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
public enum MethodSemanticsAttributes
{
***************
*** 33,36 ****
--- 35,40 ----
}; // enum MethodSemanticsAttributes
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: Missing.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Missing.cs,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** Missing.cs 7 Aug 2001 22:51:46 -0000 1.1.1.1
--- Missing.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 22,26 ****
{
! public sealed class Missing
{
--- 22,31 ----
{
! #if ECMA_COMPAT
! internal
! #else
! public
! #endif
! sealed class Missing
{
Index: Module.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Module.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** Module.cs 15 Apr 2003 05:13:43 -0000 1.8
--- Module.cs 15 Apr 2003 11:22:32 -0000 1.9
***************
*** 22,25 ****
--- 22,27 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Globalization;
***************
*** 228,231 ****
--- 230,235 ----
}; // class Module
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ParameterAttributes.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ParameterAttributes.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ParameterAttributes.cs 27 Oct 2001 03:00:06 -0000 1.1
--- ParameterAttributes.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
[Flags]
public enum ParameterAttributes
***************
*** 38,41 ****
--- 40,45 ----
}; // enum ParameterAttributes
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ParameterInfo.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ParameterInfo.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ParameterInfo.cs 5 Apr 2003 06:58:12 -0000 1.5
--- ParameterInfo.cs 15 Apr 2003 11:22:32 -0000 1.6
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
***************
*** 209,212 ****
--- 211,216 ----
}; // class ParameterInfo
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ParameterModifier.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ParameterModifier.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** ParameterModifier.cs 2 Dec 2001 09:29:50 -0000 1.2
--- ParameterModifier.cs 15 Apr 2003 11:22:32 -0000 1.3
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
public struct ParameterModifier
{
***************
*** 52,55 ****
--- 54,59 ----
}; // class ParameterModifier
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: PropertyAttributes.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/PropertyAttributes.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** PropertyAttributes.cs 7 Dec 2001 01:45:38 -0000 1.2
--- PropertyAttributes.cs 15 Apr 2003 11:22:32 -0000 1.3
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
***************
*** 38,41 ****
--- 40,45 ----
}; // enum PropertyAttributes
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: PropertyInfo.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/PropertyInfo.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** PropertyInfo.cs 2 Dec 2001 09:29:50 -0000 1.3
--- PropertyInfo.cs 15 Apr 2003 11:22:32 -0000 1.4
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Globalization;
***************
*** 111,114 ****
--- 113,118 ----
}; // class PropertyInfo
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: ResourceAttributes.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ResourceAttributes.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ResourceAttributes.cs 27 Oct 2001 03:00:06 -0000 1.1
--- ResourceAttributes.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 24,28 ****
[Flags]
! public enum ResourceAttributes
{
Public = 0x0001,
--- 24,33 ----
[Flags]
! #if ECMA_COMPAT
! internal
! #else
! public
! #endif
! enum ResourceAttributes
{
Public = 0x0001,
Index: ResourceLocation.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/ResourceLocation.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ResourceLocation.cs 27 Oct 2001 03:00:06 -0000 1.1
--- ResourceLocation.cs 15 Apr 2003 11:22:32 -0000 1.2
***************
*** 24,28 ****
[Flags]
! public enum ResourceLocation
{
Embedded = 0x0001,
--- 24,33 ----
[Flags]
! #if ECMA_COMPAT
! internal
! #else
! public
! #endif
! enum ResourceLocation
{
Embedded = 0x0001,
Index: TargetException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/TargetException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** TargetException.cs 7 Apr 2003 04:22:51 -0000 1.6
--- TargetException.cs 15 Apr 2003 11:22:32 -0000 1.7
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Runtime.Serialization;
***************
*** 60,63 ****
--- 62,67 ----
}; // class TargetException
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: TargetInvocationException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/TargetInvocationException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** TargetInvocationException.cs 7 Apr 2003 04:22:51 -0000 1.6
--- TargetInvocationException.cs 15 Apr 2003 11:22:32 -0000 1.7
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Runtime.Serialization;
***************
*** 63,66 ****
--- 65,70 ----
}; // class TargetInvocationException
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: TargetParameterCountException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/TargetParameterCountException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** TargetParameterCountException.cs 7 Apr 2003 04:22:51 -0000 1.6
--- TargetParameterCountException.cs 15 Apr 2003 11:22:32 -0000 1.7
***************
*** 23,26 ****
--- 23,28 ----
{
+ #if CONFIG_REFLECTION
+
using System;
using System.Runtime.Serialization;
***************
*** 61,64 ****
--- 63,68 ----
}; // class TargetParameterCountException
+
+ #endif // CONFIG_REFLECTION
}; // namespace System.Reflection
Index: TypeAttributes.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/TypeAttributes.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** TypeAttributes.cs 6 Dec 2001 04:40:42 -0000 1.2
--- TypeAttributes.cs 15 Apr 2003 11:22:32 -0000 1.3
***************
*** 24,28 ****
[Flags]
! public enum TypeAttributes
{
VisibilityMask = 0x00000007,
--- 24,33 ----
[Flags]
! #if CONFIG_REFLECTION
! public
! #else
! internal
! #endif
! enum TypeAttributes
{
VisibilityMask = 0x00000007,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection AmbiguousMatchException.cs,1.6,1.7 Assembly.cs,1.22,1.23 AssemblyVersionAttribute.cs,1.2,1.3 Binder.cs,1.2,1.3 BindingFlags.cs,1.1.1.1,1.2 ClrConstructor.cs,1.4,1.5 ClrEvent.cs,1.4,1.5 ClrField.cs,1.5,1.6 ClrHelpers.cs,1.5,1.6 ClrMethod.cs,1.5,1.6 ClrParameter.cs,1.2,1.3 ClrProperty.cs,1.4,1.5 ClrReflectionAttribute.cs,1.1,1.2 ClrResourceStream.cs,1.6,1.7 ClrType.cs,1.14,1.15 ConstructorInfo.cs,1.3,1.4 EventAttributes.cs,1.1,1.2 EventInfo.cs,1.4,1.5 FieldAttributes.cs,1.1,1.2 FieldInfo.cs,1.4,1.5 ICustomAttributeProvider.cs,1.1,1.2 IReflect.cs,1.2,1.3 InterfaceMapping.cs,1.1,1.2InvalidFilterCriteriaException.cs,1.3,1.4 ManifestResourceInfo.cs,1.1,1.2 MemberInfo.cs,1.5,1.6 MemberTypes.cs,1.1,1.2 MethodAttributes.cs,1.1,1.2 MethodBase.cs,1.5,1.6 MethodImplAttributes.cs,1.2,1.3 MethodInfo.cs,1.3,1.4 MethodSemanticsAttributes.cs,1.1,1.2 Missing.cs,1.1.1.1,1.2 Module.cs,1.8,1.9 ParameterAttributes.cs,1.1,1.2 ParameterInfo.cs,1.5,1.6 ParameterModifier.cs,1.2,1.3 PropertyAttributes.cs,1.2,1.3 PropertyInfo.cs,1.3,1.4 ResourceAttributes.cs,1.1,1.2 ResourceLocation.cs,1.1,1.2 TargetException.cs,1.6,1.7 TargetInvocationException.cs,1.6,1.7 TargetParameterCountException.cs,1.6,1.7 TypeAttributes.cs,1.2,1.3,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Private DefaultBinder.cs,1.2,1.3
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/Execute Convert.cs,1.4,1.5 ScriptObject.cs,1.3,1.4 Support.cs,1.4,1.5
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Private DefaultBinder.cs,1.2,1.3
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/Execute Convert.cs,1.4,1.5 ScriptObject.cs,1.3,1.4 Support.cs,1.4,1.5
- Index(es):