<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0831</ErrorName>
  <Examples>
    <string>// CS0831:  An expression tree may not contain a base access
// Line: 14

using System;
using System.Linq.Expressions;

class B
{
	protected bool Core {
		get {
			return true;
		}
	}
}

class C : B
{
	public void Test ()
	{
		Expression&lt;Func&lt;bool&gt;&gt; e = () =&gt; base.Core;
	}
}
</string>
    <string>// CS0831: An expression tree may not contain a base access
// Line: 20

using System;
using System.Linq.Expressions;

class B
{
	protected B this [int i] {
		get {
			return null;
		}
	}
}

class C : B
{
	public void Test ()
	{
		Expression&lt;Func&lt;B&gt;&gt; e = () =&gt; base [8];
	}
}
</string>
    <string>// CS0831: An expression tree may not contain a base access
// Line: 14

using System;
using System.Linq.Expressions;

class B
{
	protected int Core ()
	{
		return 4;
	}
}

class C : B
{
	public void Test ()
	{
		Expression&lt;Func&lt;int&gt;&gt; e = () =&gt; base.Core ();
	}
}
</string>
  </Examples>
</ErrorDocumentation>