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: da77cf3cdda2faf007fd7c12c3fd7e484a3d671c (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);
		}

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