throw new NotSupportedException ();
}
- public virtual MethodInfo GetGenericMethodDefinition ()
- {
- throw new NotSupportedException ();
- }
-
- public virtual bool Mono_IsInflatedMethod {
+ public virtual bool ContainsGenericParameters {
get {
- throw new NotSupportedException ();
+ return false;
}
}
- public virtual bool HasGenericParameters {
+ public virtual bool IsGenericMethodDefinition {
get {
throw new NotSupportedException ();
}
}
- public virtual bool IsGenericMethodDefinition {
+ public virtual bool IsGenericMethod {
get {
throw new NotSupportedException ();
}
internal extern static MethodBody GetMethodBodyInternal (IntPtr handle);
internal static MethodBody GetMethodBody (IntPtr handle) {
- MethodBody mb = GetMethodBodyInternal (handle);
- if (mb == null)
- throw new ArgumentException ("Only methods with IL bodies are supported.");
- else
- return mb;
- }
+ return GetMethodBodyInternal (handle);
+ }
public virtual MethodBody GetMethodBody () {
throw new NotSupportedException ();