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

test-100.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5e9bc06854da4c675999245f12c3d641fd5e13b9 (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
namespace GLib {

	using System;
	using System.Runtime.InteropServices;

	public class Object  {
		int v;

		protected int Raw {
			get {
				return 1;
			}
			set {
				v = value;
			}
		}       

		[DllImport("bah", CallingConvention=CallingConvention.Cdecl)]
		static extern void g_object_get (int obj);

		public void GetProperty ()
		{
			g_object_get (Raw);
		}

		public static int Main ()
		{
			return 0;
		}
	}
}