<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS8153</ErrorName>
  <Examples>
    <string>// CS8153: An expression tree lambda cannot contain a call to a method, property, or indexer that returns by reference
// Line: 11

using System;
using System.Linq.Expressions;

class X
{
	void Foo ()
	{
		Expression&lt;Func&lt;int&gt;&gt; e = () =&gt; Test (ref this[0]);
	}

	static int Test (ref int y)
	{
		return y;
	}

	ref int this [int y] {
		get {
			throw null;
		}
	}
}
</string>
  </Examples>
</ErrorDocumentation>