// Mono.Util.CorCompare.MissingField
//
// Author(s):
// Piers Haken (piersh@friskit.com)
//
// (C) 2002 Piers Haken
using System;
using System.Reflection;
namespace Mono.Util.CorCompare
{
///
/// Represents an interface implemented on a class
///
///
/// created by - Piers
/// created on - 10:34 AM 3/12/2002
///
class MissingInterface : MissingBase
{
protected Type ifaceMono;
protected Type ifaceMS;
// e.g.
public MissingInterface (Type _ifaceMono, Type _ifaceMS)
{
ifaceMono = _ifaceMono;
ifaceMS = _ifaceMS;
m_nodeStatus = new NodeStatus (ifaceMono, ifaceMS);
}
public override string Type
{
get { return "interface"; }
}
public override string Name
{
get { return Interface.FullName; }
}
protected Type Interface
{
get { return (ifaceMono != null) ? ifaceMono : ifaceMS; }
}
public override NodeStatus Analyze ()
{
return m_nodeStatus;
}
}
}