handle weird type exception in System.dll
[mono.git] / mcs / tools / corcompare / MissingNameSpace.cs
1 // Mono.Util.CorCompare.MissingNameSpace
2 //
3 // Author(s):
4 //   Nick Drochak (ndrochak@gol.com)
5 //
6 // (C) 2001-2002 Nick Drochak
7
8 using System;
9 using System.Collections;
10 using System.Reflection;
11 using System.Xml;
12
13 namespace Mono.Util.CorCompare {
14
15         /// <summary>
16         ///     Represents a namespace that has missing and/or MonoTODO classes.
17         /// </summary>
18         /// <remarks>
19         ///     created by - Nick
20         ///     created on - 2/20/2002 10:43:57 PM
21         /// </remarks>
22         class MissingNameSpace : MissingBase
23         {
24                 // e.g. <namespace name="System" missing="267" todo="453" complete="21">
25                 public string name;
26                 protected Type [] rgTypesMS;
27
28                 public MissingNameSpace(string nameSpace, Type [] _rgTypesMS)
29                 {
30                         name = nameSpace;
31                         rgTypesMS = _rgTypesMS;
32                 }
33
34                 public virtual string [] MissingTypeNames (bool f)
35                 {
36                         return null;
37                 }
38
39                 public virtual ArrayList ToDoTypeNames
40                 {
41                         get { return null; }
42                 }
43                 public override string Name 
44                 {
45                         get { return name; }
46                 }
47                 public override string Type
48                 {
49                         get { return "namespace"; }
50                 }
51         }
52 }
53