[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0571.cs
blob6b58089fdba257bde31f02ad7d7c172e90c67f94
1 // CS0571: `MainClass.Value.get': cannot explicitly call operator or accessor
2 // Line: 12
4 class MainClass {
5 static int Value {
6 get {
7 return 1;
11 public static void Main() {
12 int value = get_Value();