<?xml version="1.0" encoding="us-ascii"?>
<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: A ref or out argument must be an assignable variable
// 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-3.cs: A ref or out argument must be an assignable variable
// Line: 19
// this is bug #70402

using System;
 
class T {
 
        enum A { a, b }
 
        static void Convert (out A a)
        {
                a = A.a;
        }
 
        static void Main ()
        {
                int a = 0;
                Convert (out (A) a);
        }
}
</string>
    <string>// CS1510: A ref or out argument must be an assignable variable
// Line: 13

class M
{
	static void Test (ref byte b)
	{
	}
	
	public static void Main ()
	{
		byte b = 1;
		Test (ref (byte) b);
	}
}
</string>
    <string>// cs1510.cs: A ref or out argument must be an assignable variable
// Line: 11
class X {
	public static void m (ref int i)
	{
		i++;
	}

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