c7cccb108914e3aa88bd6f22e18a5bb0067eed0c
[mono.git] / mcs / tools / corcompare / ToDoNestedType.cs
1 // Mono.Util.CorCompare.ToDoNestedType\r
2 //\r
3 // Author(s):\r
4 //   Nick Drochak (ndrochak@gol.com)\r
5 //\r
6 // (C) 2001-2002 Nick Drochak\r
7 \r
8 using System;\r
9 using System.Reflection;\r
10 \r
11 namespace Mono.Util.CorCompare {\r
12 \r
13         /// <summary>\r
14         ///     Represents a class's property that is marked with a MonoTODO\r
15         /// </summary>\r
16         /// <remarks>\r
17         ///     created by - Nick\r
18         ///     created on - 2/20/2002 10:43:57 PM\r
19         /// </remarks>\r
20         class ToDoNestedType : MissingNestedType\r
21         {\r
22                 // e.g. <property name="Count" status="todo" note="another note"/>\r
23                 string todoNote = "";\r
24 \r
25                 public ToDoNestedType(MemberInfo pInfo) : base(pInfo) {\r
26                 }\r
27                 public ToDoNestedType(MemberInfo pInfo, string note) :base(pInfo) {\r
28                         todoNote = note;\r
29                 }\r
30                 public string Note {\r
31                         get {\r
32                                 return todoNote;\r
33                         }\r
34                 }\r
35                 public override string Status {\r
36                         get {\r
37                                 return "todo";\r
38                         }\r
39                 }\r
40         }\r
41 }\r