* MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property. Fixes #77460. svn path=/trunk/mcs/; revision=56548
@@ -1,3 +1,8 @@
+2006-02-03 Zoltan Varga <[email protected]>
+
+ * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
+ Fixes #77460.
2005-12-23 Sebastien Pouliot <[email protected]>
* Assembly.cs: Fixed #75950. The icall has been changed to accept a
@@ -210,6 +210,12 @@ namespace System.Reflection {
throw new NotSupportedException ();
}
+ public virtual bool IsGenericMethod {
+ get {
+ return false;
+ }
#endif
#if NET_2_0
@@ -296,6 +296,12 @@ namespace System.Reflection {
[MethodImplAttribute(MethodImplOptions.InternalCall)]
get;
+ public override bool IsGenericMethod {
+ return IsGenericMethodDefinition || Mono_IsInflatedMethod;