summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0428-2.cs
blob: 5f468fd519adff276572a642417853e535445684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0428: Cannot convert method group `Main' to non-delegate type `void*'. Consider using parentheses to invoke the method
// Line: 9
// Compiler options: -unsafe

unsafe class C
{
	public static void Main ()
	{
		fixed (void* f = Main)
		{
		}
	}
}