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

cs1666.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4daecdd1486610b293bc5431cd5105ecb7856e7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS1666: 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';
    }
}