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

cs8212.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 14477fe11183767588e76043b01b8fd1ac7ea142 (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
// cs8212.cs: Array creation present on attribute, but array is not initialized
// Line: 14
using System;
using System.Reflection;

[AttributeUsage (AttributeTargets.All)]
public class MineAttribute : Attribute {
	public MineAttribute (Type [] t)
	{
	}
}


[Mine(new Type [2])]
public class Foo {	
	public static int Main ()
	{
		return 0;
	}
}