added support for struct, interfaces, delegates & enums
[mono.git] / mcs / tools / corcompare / ToDoConstructor.cs
1 // Mono.Util.CorCompare.ToDoConstructor
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 method that is marked with MonoTODO
15         /// </summary>
16         /// <remarks>
17         ///     created by - Nick
18         ///     created on - 2/20/2002 10:43:57 PM
19         /// </remarks>
20         class ToDoConstructor : MissingConstructor 
21         {
22                 // e.g. <method name="ToString" status="todo" note="this is the note from MonoTODO"/>
23                 string todoNote = "";
24
25                 public ToDoConstructor(MemberInfo info) : base(info) {
26                 }
27                 public ToDoConstructor(MemberInfo info, string note) :base(info) {
28                         todoNote = note;
29                 }
30                 public string Note {
31                         get {
32                                 return todoNote;
33                         }
34                 }
35                 public override string Status {
36                         get {
37                                 return "todo";
38                         }
39                 }
40         }
41 }