瀏覽代碼

Sigh, forgot to commit this file.

svn path=/trunk/mcs/; revision=3050
Paolo Molaro 24 年之前
父節點
當前提交
fe1c36f292
共有 1 個文件被更改,包括 51 次插入0 次删除
  1. 51 0
      mcs/class/corlib/System.Reflection/MonoEvent.cs

+ 51 - 0
mcs/class/corlib/System.Reflection/MonoEvent.cs

@@ -0,0 +1,51 @@
+//
+// System.Reflection/MonoEvent.cs
+//
+// Author:
+//   Paolo Molaro ([email protected])
+//
+// (C) 2001 Ximian, Inc.  http://www.ximian.com
+//
+
+using System;
+using System.Reflection;
+
+namespace System.Reflection {
+	public sealed class MonoEvent: EventInfo {
+
+		public override EventAttributes Attributes {
+			get { return (EventAttributes)0;}
+		}
+
+		public override MethodInfo GetAddMethod(bool nonPublic) {
+			return null;
+		}
+		public override MethodInfo GetRaiseMethod( bool nonPublic) {
+			return null;
+		}
+		public override MethodInfo GetRemoveMethod( bool nonPublic) {
+			return null;
+		}
+
+		/*public override bool IsDefined (Type attributeType, bool inherit) {
+			return MonoCustomAttrs.IsDefined (this, attributeType, inherit);
+		}
+
+		public override object[] GetCustomAttributes( bool inherit) {
+			return MonoCustomAttrs.GetCustomAttributes (this, inherit);
+		}
+		public override object[] GetCustomAttributes( Type attributeType, bool inherit) {
+			return MonoCustomAttrs.GetCustomAttributes (this, attributeType, inherit);
+		}*/
+		public override Type DeclaringType {
+			get {
+				return null;
+			}
+		}
+		public override string Name {
+			get {
+				return null;
+			}
+		}
+	}
+}