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

cs0188.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a8c46966ac66ee2357284fedec5e9c28b8f7e91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0188: The `this' object cannot be used before all of its fields are assigned to
// Line: 6

struct Sample {
        public Sample(string text) {
            Initialize();
            this.text = text;
        }

        void Initialize() {
        }
        
        public string text;
}