X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem%2FTypeCode.cs;h=2fea3e3839202fd6664e8255c8e22ca8662543e9;hb=f91af83b92d7ed1858f419bb5bc5d0d4cab5429c;hp=fb6401d8a26bee69ebcb1f2d24a0921514a7a2a1;hpb=234225d112c4b018b8d1796f4c06a15812137500;p=mono.git diff --git a/mcs/class/corlib/System/TypeCode.cs b/mcs/class/corlib/System/TypeCode.cs index fb6401d8a26..2fea3e38392 100644 --- a/mcs/class/corlib/System/TypeCode.cs +++ b/mcs/class/corlib/System/TypeCode.cs @@ -12,7 +12,7 @@ // // -// Copyright (C) 2004 Novell, Inc (http://www.novell.com) +// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the @@ -34,10 +34,14 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -namespace System -{ - public enum TypeCode - { +using System.Runtime.InteropServices; + +namespace System { + + [ComVisible (true)] + [Serializable] + public enum TypeCode { + Empty = 0, Object = 1, DBNull = 2,