// Mono.Util.CorCompare.MissingMethod
//
// Author(s):
// Nick Drochak (ndrochak@gol.com)
//
// (C) 2001-2002 Nick Drochak
using System;
using System.Reflection;
using System.Text;
namespace Mono.Util.CorCompare {
///
/// Represents a class method that is completely missing
///
///
/// created by - Nick
/// created on - 2/20/2002 10:43:57 PM
///
class MissingMethod : IMissingMember
{
// e.g.
MemberInfo mInfo;
public MissingMethod(MemberInfo info) {
mInfo = info;
}
public string Name {
get {
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 "method";
}
}
}
}