<?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>CS0221</ErrorName>
  <Examples>
    <string>// cs0221: Constant value `-200' cannot be converted to a `byte' (use `unchecked' syntax to override)
// Line: 6

enum AA : byte { a, b = 200 }

public class C
{
	public static void Main ()
	{
		const int b = AA.a - AA.b;
	}
}
</string>
    <string>// CS0221:  Constant value `-1' cannot be converted to a `char' (use `unchecked' syntax to override)
// Line: 10

class C
{
	static void Main ()
	{
		unchecked {
			checked {
				const char c = (char) -1;
			}
		}
	}
}
</string>
    <string>// CS0221: Constant value `-3' cannot be converted to a `ushort' (use `unchecked' syntax to override)
// Line: 12

class C
{
	delegate void D ();

	static void Main ()
	{
		D d = checked (delegate {
			const ushort s = (ushort) -3;
		});
	}
}
</string>
    <string>// CS0221: Constant value `NaN' cannot be converted to a `char' (use `unchecked' syntax to override)
// Line: 6

class X {
	static void Main () {
		System.Console.WriteLine ((char)float.NaN);
	}
}
</string>
    <string>// CS0221: Constant value `-1' cannot be converted to a `ushort' (use `unchecked' syntax to override)
// Line: 11

class C
{
	delegate void D ();

	static void Main ()
	{
		D d = unchecked (delegate {
			const ushort s = (ushort) -1;
		});
	}
}
</string>
    <string>// cs0221-2.cs: Constant value `-91' cannot be converted to a `E' (use `unchecked' syntax to override)
// Line: 10

enum E:byte {
	Min = 9
}

class T {
	static void Main () {
			E error = E.Min - 100;
			System.Console.WriteLine (error);
	}
}
</string>
    <string>// cs0221-2.cs: Constant value `-9' cannot be converted to a `E' (use `unchecked' syntax to override)
// Line: 10

enum E:byte {
	Min = 9
}

class T {
	static void Main () {
			E error = (E)(-9);
			System.Console.WriteLine (error);
	}
}
</string>
    <string>// cs0221-4.cs: Constant value `-10.1' cannot be converted to a `byte' (use `unchecked' syntax to override)
// Line: 6

class T {
	static void Main () {
		byte d = (byte)-10.1d;
	}
}
</string>
    <string>// cs0221.cs: Constant value `-1' cannot be converted to a `byte' (use `unchecked' syntax to override)
// Line: 11

using System;

public class My3Attribute : Attribute
{
	public My3Attribute (byte b) {}
}

[My3((byte)-1)]
public class Test { }</string>
    <string>// cs0221-6.cs: Constant value `NaN' cannot be converted to a `int' (use `unchecked' syntax to override)
// Line: 6

class X {
	static void Main () {
		System.Console.WriteLine ((int)double.NaN);
	}
}
</string>
    <string>// cs0221-7.cs: Constant value `-Infinity' cannot be converted to a `ushort' (use `unchecked' syntax to override)
// Line: 6

class X {
	static void Main () {
		System.Console.WriteLine ((ushort)double.NegativeInfinity);
	}
}
</string>
    <string>// cs0221-8.cs: Constant value `Infinity' cannot be converted to a `uint' (use `unchecked' syntax to override)
// Line: 6

class X {
	static void Main () {
		System.Console.WriteLine ((uint)double.PositiveInfinity);
	}
}
</string>
    <string>// cs0221-9.cs: Constant value `3.402823E+38' cannot be converted to a `ulong' (use `unchecked' syntax to override)
// Line: 6

class X {
	static void Main () {
		const float d = float.MaxValue;
		ulong b = (ulong) d;
	}
}
</string>
    <string>// cs0221.cs: Constant value `4294967295' cannot be converted to a `int' (use `unchecked' syntax to override)
// Line: 5

class X {
	int a = (int) 0xffffffff;
	
	static void Main ()
	{
		
	}
}
</string>
  </Examples>
</ErrorDocumentation>