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

cs0255.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7fe38d595a0d6f63b7bd1451529753f02b0f8a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs0255.cs: Can not use stackalloc in finally or catch
// Line: 10
unsafe class X {

	static void Main ()
	{
		try {
		} catch {
		char *ptr = stackalloc char [10];
		ptr = ptr;
		}
	}
}