[Mono.Debugger.Soft] Reverted non-working support for MethodMirror.IsGenericMethod...
[mono.git] / mcs / class / Mono.Debugger.Soft / Mono.Debugger.Soft / MethodMirror.cs
index 614b236638301904de396836f7d68c73ebc772a0..3e69d95c6dc50133623c2f009fdb14c705f12d13 100644 (file)
@@ -168,13 +168,11 @@ namespace Mono.Debugger.Soft
                        }
                }
 
+               // Since protocol version 2.12
                public bool IsGenericMethod {
                        get {
-                               if (vm.Version.AtLeast (2, 12)) {
-                                       return GetInfo ().is_generic_method;
-                               } else {
-                                       return Name.IndexOf ('`') != -1;
-                               }
+                               vm.CheckProtocolVersion (2, 12);
+                               return GetInfo ().is_generic_method;
                        }
                }