Wed Nov 14 16:30:27 CET 2001 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / class / corlib / System / MonoType.cs
1 // System.MonoType
2 //
3 // Sean MacIsaac (macisaac@ximian.com)
4 //
5 // (C) 2001 Ximian, Inc.
6
7 using System.Reflection;
8 using System.Runtime.CompilerServices;
9
10 namespace System
11 {
12         internal class MonoType : Type
13         {
14
15                 [MethodImplAttribute(MethodImplOptions.InternalCall)]
16                 private static extern void type_from_obj (MonoType type, Object obj);
17                 
18                 internal MonoType (Object obj) {
19                         type_from_obj (this, obj);
20                 }
21
22                 public override Type[] GetInterfaces()
23                 {
24                         return null;
25                 }
26
27                 public override Type GetElementType()
28                 {
29                         return null;
30                 }
31
32                 public override Assembly Assembly {
33                         get {
34                                 return null;
35                         }
36                 }
37
38                 public override string AssemblyQualifiedName {
39                         get {
40                                 return assQualifiedName ();
41                         }
42                 }
43
44                 [MethodImplAttribute(MethodImplOptions.InternalCall)]
45                 private extern string assQualifiedName();
46
47                 public override Type BaseType {
48                         get {
49                                 return null;
50                         }
51                 }
52
53                 public override string FullName {
54                         get {
55                                 string str = assQualifiedName ();
56                                 return str.Split(',')[0];
57                         }
58                 }
59
60                 public override bool IsDefined (Type attributeType, bool inherit)
61                 {
62                         return false;
63                 }
64
65                 public override object[] GetCustomAttributes (bool inherit)
66                 {
67                         return null;
68                 }
69
70                 public override object[] GetCustomAttributes (Type attributeType, bool inherit)
71                 {
72                         return null;
73                 }
74
75                 public override MemberTypes MemberType {
76                         get {
77                                 return MemberTypes.All;
78                         }
79                 }
80
81                 public override string Name {
82                         get {
83                                 return null;
84                         }
85                 }
86
87                 public override string Namespace {
88                         get {
89                                 return null;
90                         }
91                 }
92
93                 public override Module Module {
94                         get {
95                                 return null;
96                         }
97                 }
98
99                 public override Type ReflectedType {
100                         get {
101                                 return null;
102                         }
103                 }
104
105                 public override RuntimeTypeHandle TypeHandle {
106                         get {
107                                 return _impl;
108                         }
109                 }
110         }
111 }