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

cs0133-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 45a41997fa2c89b2f9f4cf7b001c31362a4cb956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs0133.cs: The expression being assigned to 'S.pathName' must be constant
// Line: 12
// Compiler options: -unsafe

class C
{
    public static int i = 4;
}

public unsafe struct S
{
    private fixed char pathName [C.i];
}