2009-11-17 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / gcs0831-3.cs
blob171ce9cbb47e60c484dacb44347d51e681a91c87
1 // CS0831: An expression tree may not contain a base access
2 // Line: 20
4 using System;
5 using System.Linq.Expressions;
7 class B
9 protected B this [int i] {
10 get {
11 return null;
16 class C : B
18 public void Test ()
20 Expression<Func<B>> e = () => base [8];