Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-616.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9994d02ba941e8da2439e056a1e12201af3ef928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// Compiler options: -nostdlib -t:library -noconfig

//
// Tests compiler mscorlib bootstrap
//

namespace System
{
	public class Object
	{
		object value_with_no_base;
	}
		
	public struct Byte {}
	public struct Int16 {}
	public struct Int32 {}
	public struct Int64 {}
	public struct Single {}
	public struct Double{}
	public struct Char {}
	public struct Boolean {}
	public struct SByte {}
	public struct UInt16 {}
	public struct UInt32 {}
	public struct UInt64 {}
	public struct IntPtr {}
	public struct UIntPtr {}
	public class String { }
	public class Delegate {}
	public class MulticastDelegate {}
	public class Array {}
	public class Exception {}
	public partial class Type {}
	public class ValueType {}
	public class Enum {}
	public class Attribute {}
	public struct Void {}
	public class ParamArrayAttribute {}
	public class DefaultMemberAttribute {}
	public struct RuntimeTypeHandle {}
	public struct RuntimeFieldHandle {}
		
	public interface IDisposable {}

	public struct Decimal {

		private int flags;

		public Decimal(int[] bits) {
			flags = 0;
			SetBits(bits);
		}

		public Decimal (int i)
		{
			flags = 0;
		}

		private void SetBits(int[] bits) {
		}
	}

	partial class Type
	{
		public static bool operator == (Type left, Type right)
		{
			return false;
		}

		public static bool operator != (Type left, Type right)
		{
			return true;
		}

		void Foo ()
		{
			Decimal d = 0;
			var d2 = d;
		}
	}	
}
	
namespace System.Runtime.InteropServices
{
	public class OutAttribute {}
}
		

namespace System.Collections
{
	public interface IEnumerable {}
	public interface IEnumerator {}
}

namespace System.Reflection
{
	public class DefaultMemberAttribute {}
}