merging the Mainsoft branch to the trunk
[mono.git] / mcs / tools / corcompare / MissingConstructor.cs
index 35b387eae7070f580f99b053da134671ed444021..eda6f52b23a3b5801fcab701b37720ecd14a85ce 100644 (file)
@@ -17,18 +17,9 @@ namespace Mono.Util.CorCompare {
        ///     created by - Nick
        ///     created on - 2/24/2002 10:43:57 PM
        /// </remarks>
-       class MissingConstructor : MissingMember {
+       class MissingConstructor : MissingMethod {
                // e.g. <method name="Equals" status="missing"/>
-               public MissingConstructor (MemberInfo info) : base (info) {}
-
-               public override string Name {
-                       get {
-                               //return mInfo.Name;
-                               string s = mInfo.ToString();
-                               int index = s.IndexOf(' ');
-                               return s.Substring(index + 1);
-                       }
-               }
+               public MissingConstructor (MemberInfo infoMono, MemberInfo infoMS) : base (infoMono, infoMS) {}
 
                public override string Type {
                        get {