[bcl] Update BCL Linked Size
[mono-project.git] / mcs / tests / test-616.cs
blob9994d02ba941e8da2439e056a1e12201af3ef928
1 // Compiler options: -nostdlib -t:library -noconfig
3 //
4 // Tests compiler mscorlib bootstrap
5 //
7 namespace System
9 public class Object
11 object value_with_no_base;
14 public struct Byte {}
15 public struct Int16 {}
16 public struct Int32 {}
17 public struct Int64 {}
18 public struct Single {}
19 public struct Double{}
20 public struct Char {}
21 public struct Boolean {}
22 public struct SByte {}
23 public struct UInt16 {}
24 public struct UInt32 {}
25 public struct UInt64 {}
26 public struct IntPtr {}
27 public struct UIntPtr {}
28 public class String { }
29 public class Delegate {}
30 public class MulticastDelegate {}
31 public class Array {}
32 public class Exception {}
33 public partial class Type {}
34 public class ValueType {}
35 public class Enum {}
36 public class Attribute {}
37 public struct Void {}
38 public class ParamArrayAttribute {}
39 public class DefaultMemberAttribute {}
40 public struct RuntimeTypeHandle {}
41 public struct RuntimeFieldHandle {}
43 public interface IDisposable {}
45 public struct Decimal {
47 private int flags;
49 public Decimal(int[] bits) {
50 flags = 0;
51 SetBits(bits);
54 public Decimal (int i)
56 flags = 0;
59 private void SetBits(int[] bits) {
63 partial class Type
65 public static bool operator == (Type left, Type right)
67 return false;
70 public static bool operator != (Type left, Type right)
72 return true;
75 void Foo ()
77 Decimal d = 0;
78 var d2 = d;
83 namespace System.Runtime.InteropServices
85 public class OutAttribute {}
89 namespace System.Collections
91 public interface IEnumerable {}
92 public interface IEnumerator {}
95 namespace System.Reflection
97 public class DefaultMemberAttribute {}