[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0171-4.cs
1 // CS0171: Field `S<TKey>.key' must be fully assigned before control leaves the constructor
2 // Line: 13
3
4 public struct S<TKey> {
5         internal TKey key;
6
7         public TKey Key {
8                 get { return key; }
9                 private set { key = value; }
10         }
11                 
12         public S (TKey key)
13         {
14                 Key = key;
15         }
16 }