New test.
[mono.git] / mcs / class / corlib / System / TypeCode.cs
1 //
2 // System.TypeCode.cs
3 //
4 // This code was automatically generated from
5 // ECMA CLI XML Library Specification.
6 // Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
7 // Created: Wed, 5 Sep 2001 06:34:09 UTC
8 // Source file: all.xml
9 // URL: http://devresource.hp.com/devresource/Docs/TechPapers/CSharp/all.xml
10 //
11 // (C) 2001 Ximian, Inc.  http://www.ximian.com
12 //
13
14 //
15 // Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
16 //
17 // Permission is hereby granted, free of charge, to any person obtaining
18 // a copy of this software and associated documentation files (the
19 // "Software"), to deal in the Software without restriction, including
20 // without limitation the rights to use, copy, modify, merge, publish,
21 // distribute, sublicense, and/or sell copies of the Software, and to
22 // permit persons to whom the Software is furnished to do so, subject to
23 // the following conditions:
24 // 
25 // The above copyright notice and this permission notice shall be
26 // included in all copies or substantial portions of the Software.
27 // 
28 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
29 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
30 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
31 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
32 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
33 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
34 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35 //
36
37 using System.Runtime.InteropServices;
38
39 namespace System {
40
41 #if NET_2_0
42         [ComVisible (true)]
43         [Serializable]
44 #endif
45         public enum TypeCode {
46
47                 Empty = 0,
48                 Object = 1,
49                 DBNull = 2,
50                 Boolean = 3,
51                 Char = 4,
52                 SByte = 5,
53                 Byte = 6,
54                 Int16 = 7,
55                 UInt16 = 8,
56                 Int32 = 9,
57                 UInt32 = 10,
58                 Int64 = 11,
59                 UInt64 = 12,
60                 Single = 13,
61                 Double = 14,
62                 Decimal = 15,
63                 DateTime = 16,
64                 String = 18
65         }
66 }
67