2009-10-16 Miguel de Icaza <miguel@novell.com>
[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         [ComVisible (true)]
42         [Serializable]
43         public enum TypeCode {
44
45                 Empty = 0,
46                 Object = 1,
47                 DBNull = 2,
48                 Boolean = 3,
49                 Char = 4,
50                 SByte = 5,
51                 Byte = 6,
52                 Int16 = 7,
53                 UInt16 = 8,
54                 Int32 = 9,
55                 UInt32 = 10,
56                 Int64 = 11,
57                 UInt64 = 12,
58                 Single = 13,
59                 Double = 14,
60                 Decimal = 15,
61                 DateTime = 16,
62                 String = 18
63         }
64 }
65