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: de821506763e09cf1c50a15a7ed672d4a682932c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0188.cs: 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() {
        }
        
        string text;
}