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

test-102.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 39f018c1378b5537c1db14ff32d98a523b0c5643 (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
using System;
using System.Reflection;

[assembly: AssemblyTitle ("Foo")]
[assembly: AssemblyVersion ("1.0.2")]

namespace N1 {
		
	[AttributeUsage (AttributeTargets.All)]
	public class MineAttribute : Attribute {

		string name;
		
		public MineAttribute (string s)
		{
			name = s;
		}
	}

	interface A {
		[Mine ("hello")]
		void Hello ();
	}	

	public class Foo {	
		
		int i;
		
		[Mine ("Foo")]	
		public static int Main ()
		{
			return 0;
		}
	}
}