<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1750</ErrorName>
  <Examples>
    <string>// CS1750: Optional parameter expression of type `S' cannot be converted to parameter type `C'
// Line: 10

struct S
{
}

class C
{
	public static void Test (C c = new S ())
	{
	}
}
</string>
    <string>// CS1750: Optional parameter expression of type `string' cannot be converted to parameter type `int'
// Line: 6

public class C
{
	public C (int a = "a")
	{
	}
}
</string>
    <string>// CS1750: Optional parameter expression of type `decimal' cannot be converted to parameter type `int?'
// Line: 6

public class TS
{
	public static void Test (int? i = 1m)
	{
	}
}
</string>
    <string>// CS1750: Optional parameter expression of type `null' cannot be converted to parameter type `A'
// Line: 8

using System;

class GenericClass&lt;T&gt;
{
	public GenericClass (GenericClass&lt;T&gt; g = null, A a = null)
	{
	}
}

class DerivedClass&lt;T&gt; : GenericClass&lt;T&gt;
{
	public DerivedClass (GenericClass&lt;T&gt; g) : base(g)
	{
	}
}

public struct A
{
	public int Field;
}
</string>
  </Examples>
</ErrorDocumentation>