[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0120-18.cs
bloba4aefc787bdab40988b23ae3a46250c441f9ece3
1 // CS0120: An object reference is required to access non-static member `Derived.Foo()'
2 // Line: 16
4 using System;
6 public class Base
8 public Base (Action a)
13 public class Derived : Base
15 public Derived ()
16 : base (() => Foo ())
20 void Foo ()