retag
[mcs.git] / errors / gcs0831-2.cs
blobed0f3516ad101367ee461fc4dc9fd701e64d2157
1 // CS0831: An expression tree may not contain a base access
2 // Line: 14
4 using System;
5 using System.Linq.Expressions;
7 class B
9 protected bool Core {
10 get {
11 return true;
16 class C : B
18 public void Test ()
20 Expression<Func<bool>> e = () => base.Core;