Fixed to conform to Mono standards for incomplete functionality.
[mono.git] / mcs / class / Microsoft.VisualBasic / Microsoft.VisualBasic / Conversion.cs
1 //
2 // Conversion.cs
3 //
4 // Author:
5 //   Chris J Breisch (cjbreisch@altavista.net) 
6 //
7 // (C) 2002 Chris J Breisch
8 //
9
10 using System;
11
12 namespace Microsoft.VisualBasic {
13         [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute] 
14         sealed public class Conversion {
15                 // Declarations
16                 // Constructors
17                 // Properties
18                 // Methods
19                 [MonoTODO]
20                 public static System.String ErrorToString () { throw new NotImplementedException (); }
21                 [MonoTODO]
22                 public static System.String ErrorToString (System.Int32 ErrorNumber) { throw new NotImplementedException (); }
23                 [MonoTODO]
24                 public static System.Int16 Fix (System.Int16 Number) { throw new NotImplementedException (); }
25                 [MonoTODO]
26                 public static System.Int32 Fix (System.Int32 Number) { throw new NotImplementedException (); }
27                 [MonoTODO]
28                 public static System.Int64 Fix (System.Int64 Number) { throw new NotImplementedException (); }
29                 [MonoTODO]
30                 public static System.Double Fix (System.Double Number) { throw new NotImplementedException (); }
31                 [MonoTODO]
32                 public static System.Single Fix (System.Single Number) { throw new NotImplementedException (); }
33                 [MonoTODO]
34                 public static System.Decimal Fix (System.Decimal Number) { throw new NotImplementedException (); }
35                 [MonoTODO]
36                 public static System.Object Fix (System.Object Number) { throw new NotImplementedException (); }
37                 public static System.Int16 Int (System.Int16 Number) { return (System.Int16)Math.Floor(Number); }
38                 public static System.Int32 Int (System.Int32 Number) { return (System.Int16)Math.Floor(Number); }
39                 public static System.Int64 Int (System.Int64 Number) { return (System.Int16)Math.Floor(Number); }
40                 public static System.Double Int (System.Double Number) { return (System.Int16)Math.Floor(Number); }
41                 public static System.Single Int (System.Single Number) { return (System.Int16)Math.Floor(Number); }
42                 [MonoTODO]
43                 public static System.Decimal Int (System.Decimal Number) { throw new NotImplementedException (); }
44                 [MonoTODO]
45                 public static System.Object Int (System.Object Number) { throw new NotImplementedException (); }
46                 [MonoTODO]
47                 public static System.String Hex (System.Int16 Number) { throw new NotImplementedException (); }
48                 [MonoTODO]
49                 public static System.String Hex (System.Byte Number) { throw new NotImplementedException (); }
50                 [MonoTODO]
51                 public static System.String Hex (System.Int32 Number) { throw new NotImplementedException (); }
52                 [MonoTODO]
53                 public static System.String Hex (System.Int64 Number) { throw new NotImplementedException (); }
54                 [MonoTODO]
55                 public static System.String Hex (System.Object Number) { throw new NotImplementedException (); }
56                 [MonoTODO]
57                 public static System.String Oct (System.Int16 Number) { throw new NotImplementedException (); }
58                 [MonoTODO]
59                 public static System.String Oct (System.Byte Number) { throw new NotImplementedException (); }
60                 [MonoTODO]
61                 public static System.String Oct (System.Int32 Number) { throw new NotImplementedException (); }
62                 [MonoTODO]
63                 public static System.String Oct (System.Int64 Number) { throw new NotImplementedException (); }
64                 [MonoTODO]
65                 public static System.String Oct (System.Object Number) { throw new NotImplementedException (); }
66                 [MonoTODO]
67                 public static System.String Str (System.Object Number) { throw new NotImplementedException (); }
68                 [MonoTODO]
69                 public static System.Double Val (System.String InputStr) { throw new NotImplementedException (); }
70                 [MonoTODO]
71                 public static System.Int32 Val (System.Char Expression) { throw new NotImplementedException (); }
72                 [MonoTODO]
73                 public static System.Double Val (System.Object Expression) { throw new NotImplementedException (); }
74                 // Events
75         };
76 }