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

cs0122-17.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 85eb251085791743a5ee618e73d199452f5c4afd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs0122-17.cs: `A.output' is inaccessible due to its protection level
// Line: 12

public class A {
        private string output;
}

public class B : A {
        public void Test() {
                switch ("a") {
                        case "1":
                                output.Replace("a", "b");
                                break;
                }
        }
}