[loader] LoadFrom of problematic images should reprobe
[mono-project.git] / mcs / errors / cs1612-9.cs
blobd9b0f65ae8baefb81ac8760b36c0c1447e56e637
1 // CS1612: Cannot modify a value type return value of `R.Size'. Consider storing the value in a temporary variable
2 // Line: 19
4 struct R
6 public S Size { get; set; }
9 struct S
11 public float Height { get; set; }
14 public class Test
16 public static void Main ()
18 var r = new R ();
19 r.Size.Height = 3;