// Mono.Util.CorCompare.MissingConstructor
//
// Author(s):
// Nick Drochak (ndrochak@gol.com)
//
// (C) 2001-2002 Nick Drochak
using System;
using System.Reflection;
namespace Mono.Util.CorCompare {
///
/// Represents a class event that is completely missing
///
///
/// created by - Nick
/// created on - 2/24/2002 10:43:57 PM
///
class MissingConstructor : IMissingMember {
// e.g.
MemberInfo mInfo;
public MissingConstructor(MemberInfo info) {
mInfo = info;
}
public string Name {
get {
//return mInfo.Name;
string s = mInfo.ToString();
int index = s.IndexOf(' ');
return s.Substring(index + 1);
}
}
public virtual string Status {
get {
return "missing";
}
}
public string Type {
get {
return "constructor";
}
}
}
}