Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0120-19.cs
blobf7e0feecb5d3c4921d72a0f17a11d82ad11d379c
1 // CS0120: An object reference is required to access non-static member `MainClass.Callback()'
2 // Line: 9
4 using System;
6 class MainClass : BaseClass
8 public MainClass (string a, Action callback)
9 : base (a, () => Callback ())
13 private void Callback ()
18 public class BaseClass
20 public BaseClass (string a, int b)
24 public BaseClass (string a, Action callback)