blob: d4c274b61e67a50d3820f60f0866ba70c9789a49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
// Mono.Util.CorCompare.MissingField
//
// Author(s):
// Piers Haken (piersh@friskit.com)
//
// (C) 2002 Piers Haken
using System;
using System.Reflection;
namespace Mono.Util.CorCompare
{
/// <summary>
/// Represents an interface implemented on a class
/// </summary>
/// <remarks>
/// created by - Piers
/// created on - 10:34 AM 3/12/2002
/// </remarks>
class MissingInterface : MissingBase
{
protected Type ifaceMono;
protected Type ifaceMS;
// e.g. <method name="Equals" status="missing"/>
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;
}
}
}
|