[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / test-242.cs
blob989e6d99fce3f062ad54a9a60245c3d776f818e0
1 // This code must be compilable without any warning
2 // Compiler options: -warnaserror -warn:4
4 class BaseClass {
5 public int Location = 3;
8 class Derived : BaseClass {
9 public new int Location {
10 get {
11 return 9;
15 public static void Main () { }