}
#if NET_1_2
+ public override bool Mono_IsInflatedMethod {
+ get {
+ return false;
+ }
+ }
+
public override bool HasGenericParameters {
get {
return false;
generic_params [index].SetConstraints (constraints);
}
+ public override bool Mono_IsInflatedMethod {
+ get {
+ return false;
+ }
+ }
+
public override bool HasGenericParameters {
get {
return generic_params != null;
+2004-03-29 Martin Baulig <martin@ximian.com>
+
+ * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
+ virtual property.
+ (MethodBase.HasGenericParameters): Use the "official" behavior
+ here, ie. return false if we're not a generic method.
+
2004-03-29 Martin Baulig <martin@ximian.com>
* MethodBase.cs: Moved the generics stuff here, made it virtual
throw new NotSupportedException ();
}
+ public virtual bool Mono_IsInflatedMethod {
+ get {
+ throw new NotSupportedException ();
+ }
+ }
+
public virtual bool HasGenericParameters {
get {
throw new NotSupportedException ();
return res;
}
+ public override extern bool Mono_IsInflatedMethod {
+ [MethodImplAttribute(MethodImplOptions.InternalCall)]
+ get;
+ }
+
public override extern bool HasGenericParameters {
[MethodImplAttribute(MethodImplOptions.InternalCall)]
get;
}
#if NET_1_2
+ [MethodImplAttribute(MethodImplOptions.InternalCall)]
+ extern MethodInfo GetGenericMethodDefinition_impl ();
+
+ public override MethodInfo GetGenericMethodDefinition ()
+ {
+ MethodInfo res = GetGenericMethodDefinition_impl ();
+ if (res == null)
+ throw new InvalidOperationException ();
+
+ return res;
+ }
+
+ public override extern bool Mono_IsInflatedMethod {
+ [MethodImplAttribute(MethodImplOptions.InternalCall)]
+ get;
+ }
+
public override bool HasGenericParameters {
get {
return false;