New test.
[mono.git] / mcs / errors / cs0188.cs
1 // cs0188.cs: The `this' object cannot be used before all of its fields are assigned to
2 // Line: 6
3
4 struct Sample {
5         public Sample(string text) {
6             Initialize();
7             this.text = text;
8         }
9
10         void Initialize() {
11         }
12         
13         string text;
14 }