update readme (#21797)
[mono-project.git] / mcs / errors / cs0122-37.cs
blob7c39f7fea3dcfd2ca45562ca6613af4e640f330f
1 // CS0122: `Test.Method' is inaccessible due to its protection level
2 // Line: 17
4 public class Test
6 protected void Method ()
10 private void Method (int i)
15 public class C
17 string str = nameof (Test.Method);