namespace System.Reflection {
[Serializable]
+ [ClassInterface(ClassInterfaceType.AutoDual)]
public class Assembly : System.Reflection.ICustomAttributeProvider,
System.Security.IEvidenceFactory, System.Runtime.Serialization.ISerializable {
private IntPtr _mono_assembly;
/// Perhaps this has changed since the beta.
/// </summary>
PublicKey = 1,
+
+#if NET_1_1
+ Retargetable = 256
+#endif
} // AssemblyNameFlags
} // System.Reflection
// (C) Ximian, Inc. 2001 - 2002
using System.Globalization;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
[Serializable]
+ [ClassInterface(ClassInterfaceType.AutoDual)]
public abstract class Binder
{
protected Binder () {}
+2003-11-14 Zoltan Varga <vargaz@freemail.hu>
+
+ * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
+ from NET 1.1.
+
+ * *.cs: Add missing attributes.
+
2003-11-11 Todd Berman <tberman@gentoo.org>
* AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
using System;
using System.Reflection;
using System.Globalization;
+using System.Runtime.InteropServices;
namespace System.Reflection {
+
[Serializable]
+ [ClassInterface(ClassInterfaceType.AutoDual)]
public abstract class ConstructorInfo : MethodBase {
public static readonly string ConstructorName = ".ctor";
public static readonly string TypeConstructorName = ".cctor";
/// <summary>
/// </summary>
+ [Flags]
public enum EventAttributes {
/// <summary>
using System;
using System.Reflection;
+using System.Runtime.InteropServices;
namespace System.Reflection {
+
+ [ClassInterface(ClassInterfaceType.AutoDual)]
public abstract class EventInfo : MemberInfo {
public abstract EventAttributes Attributes {get;}
/// <summary>
/// </summary>
+ [Flags]
public enum FieldAttributes {
/// <summary>
using System.Reflection.Emit;
using System.Globalization;
using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
namespace System.Reflection {
[Serializable]
+ [ClassInterface(ClassInterfaceType.AutoDual)]
public abstract class FieldInfo : MemberInfo {
public abstract FieldAttributes Attributes {get;}
// TODO: Mucho left to implement.
//
+using System;
using System.Globalization;
+using System.Runtime.InteropServices;
namespace System.Reflection {
+ [Guid("AFBF15E5-C37C-11d2-B88E-00A0C9B471B8")]
public interface IReflect {
Type UnderlyingSystemType {
// TODO: Mucho left to implement.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection {
[Serializable]
+ [ClassInterface(ClassInterfaceType.AutoDual)]
public abstract class MemberInfo : ICustomAttributeProvider {
public abstract Type DeclaringType {
/// <summary>
/// </summary>
+ [Flags]
public enum MemberTypes {
/// <summary>
/// <summary>
/// </summary>
+ [Flags]
public enum MethodAttributes {
/// <summary>
/// </summary>
VtableLayoutMask = 256,
+#if NET_1_1
+ /// <summary>
+ /// </summary>
+ CheckAccessOnOverride = 512,
+#endif
+
/// <summary>
/// </summary>
ReuseSlot = 0,
using System.Globalization;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
namespace System.Reflection {
[Serializable]
+ [ClassInterface(ClassInterfaceType.AutoDual)]
public abstract class MethodBase: MemberInfo {
[MethodImplAttribute (MethodImplOptions.InternalCall)]
/// <summary>
/// </summary>
+ [Flags]
public enum MethodImplAttributes {
/// <summary>
using System;
using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
namespace System.Reflection {
[Serializable]
+ [ClassInterface(ClassInterfaceType.AutoDual)]
public abstract class MethodInfo: MethodBase {
public abstract MethodInfo GetBaseDefinition();
using System;
using System.Reflection;
using System.Globalization;
+using System.Runtime.InteropServices;
namespace System.Reflection {
[Serializable]
+ [ClassInterface(ClassInterfaceType.AutoDual)]
public abstract class PropertyInfo : MemberInfo {
public abstract PropertyAttributes Attributes { get; }