[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / test-ref-09.cs
blob5d0e89e5c1a01c6c37bb25f346306aaee2d25b58
1 struct rigidbody { public float x; }
3 class Program
5 static rigidbody a;
6 static ref rigidbody property_returning_struct_by_ref => ref a;
8 static void Main()
10 System.Console.WriteLine (property_returning_struct_by_ref.x);