<?xml version="1.0" encoding="iso-8859-1"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS1510</ErrorName>
  <Examples>
    <string>// cs1510-2.cs: an lvalue is required for ref or out argument
// Line: 14
// this is bug #56016

using System;

class Test {
	static void test(ref IConvertible i) {
	}
	
	static void Main() {
		int i = 1;

		test (ref (IConvertible) i);
	}
}</string>
    <string>// cs1510: an lvalue is required for ref or out argument
// Line: 11
class X {
	public static void m (ref int i)
	{
		i++;
	}

	static void Main ()
	{
		m (ref 4);
	}
}
</string>
  </Examples>
</ErrorDocumentation>