<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS8200</ErrorName>
  <Examples>
    <string>// CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers
// Line: 6

public class C
{
	bool res = Foo (out int arg);

	static bool Foo (out int arg)
	{
		arg = 2;
		return false;
	}
}</string>
    <string>// CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers
// Line: 8

using System;

public class C
{
	event Action H = Foo (out var res);

	static Action Foo (out int arg)
	{
		arg = 2;
		return null;
	}
}
</string>
    <string>// CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers
// Line: 11

public class C
{
	public C (bool value)
	{		
	}

	public C ()
		: this (Foo (out int arg))
	{	
	}

	static bool Foo (out int arg)
	{
		arg = 2;
		return false;
	}
}</string>
    <string>// CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers
// Line: 6

public class C
{
	bool res = Foo () is string s;

	static object Foo ()
	{
		return null;
	}
}</string>
    <string>// CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers
// Line: 6

class X
{
    public static bool Test { get; } = Foo () is bool x;

    static object Foo ()
    {
        return false;
    }
}</string>
    <string>// CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers
// Line: 11

public class C
{
	bool Prop { get; } = Foo (out int arg);

	static bool Foo (out int arg)
	{
		arg = 2;
		return false;
	}
}</string>
  </Examples>
</ErrorDocumentation>