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: 491470f4af13db36f9d446bdd78a51a559f7ebac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs1666.cs: You cannot use fixed sized 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';
    }
}