<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS8149</ErrorName>
  <Examples>
    <string>// CS8149: By-reference returns can only be used in lambda expressions that return by reference
// Line: 12

using System;

class A
{
	int p;
	
	void Test ()
	{
		Action a = () =&gt; ref p;
	}
}</string>
    <string>// CS8149: By-reference returns can only be used in methods that return by reference
// Line: 10

class A
{
	int p;

	int Test ()
	{
		return ref p;
	}
}</string>
  </Examples>
</ErrorDocumentation>