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

gcs1666.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 140777e109dd9303894ee3f1e38a2e74c93f3bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs1666.cs: You cannot use fixed size buffers contained in unfixed expressions. Try using the fixed statement
// Line: 11
// Compiler options: -unsafe

public unsafe struct S
{
    fixed char test_1 [128];
	
    public void Test ()
    {
	test_1 [55] = 'g';
    }
}