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

cs0135.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bbafea69e3d54d630bc60e6b27b47175c19699b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0135.cs: `test' conflicts with a declaration in a child block
// Line: 11

class ClassMain {
        static bool test = true;
    
        public static void Main() {
                if (true) {
                        bool test = false;
                }
                test = false;
        }
}