This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / tools / corcompare / MissingNestedType.cs
1 // Mono.Util.CorCompare.MissingNestedType
2 //
3 // Author(s):
4 //   Nick Drochak (ndrochak@gol.com)
5 //
6 // (C) 2001-2002 Nick Drochak
7
8 using System;
9 using System.Reflection;
10
11 namespace Mono.Util.CorCompare {
12
13         /// <summary>
14         ///     Represents a class event that is completely missing
15         /// </summary>
16         /// <remarks>
17         ///     created by - Nick
18         ///     created on - 2/24/2002 10:43:57 PM
19         /// </remarks>
20         class MissingNestedType : MissingMember {
21                 // e.g. <method name="Equals" status="missing"/>
22                 public MissingNestedType (MemberInfo infoMono, MemberInfo infoMS) : base (infoMono, infoMS) {}
23
24                 public override string Type {
25                         get {
26                                 return "nestedType";
27                         }
28                 }
29
30                 public override string Name 
31                 {
32                         get { return Info.DeclaringType.Name + "+" + Info.Name; }
33                 }
34
35         }
36 }