<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0184</ErrorName>
  <Examples>
    <string>// CS0184: The given expression is never of the provided (`T') type
// Line: 9
// Compiler options: -warnaserror -warn:1

class X&lt;T&gt; where T : class
{
	static void Foo ()
	{
		if (1 is T) {
		}
	}
}
</string>
    <string>// CS0184: The given expression is never of the provided (`bool?') type
// Line: 13
// Compiler options: -warnaserror -warn:1

using System;

class X
{
	void Foo ()
	{
		int? i = null;
		
		if (i is bool?) {
		}
	}
}
</string>
    <string>// CS0184: The given expression is never of the provided (`byte') type
// Line:
// Compiler options: -warnaserror -warn:1

class X {

	static void Main ()
	{
		int a = 1;
		
		if (a is byte){
		}
	}
}
</string>
    <string>// CS0184: The given expression is never of the provided (`B') type
// Line: 9
// Compiler options: -warnaserror -warn:1

class B
{
	static void Foo ()
	{
		if (1 is B) {
		}
	}
}
</string>
    <string>// CS0184: The given expression is never of the provided (`byte') type
// Line: 13
// Compiler options: -warnaserror -warn:1

class S {}
	
class X
{
	static void Main ()
	{
		const S x = null;
		
		if (x is byte) {
		}
	}
}
</string>
    <string>// CS0184: The given expression is never of the provided (`string') type
// Line: 7
// Compiler options: -warnaserror -warn:1

class A {
	static void Main () { 
		System.Console.WriteLine (null is string);
	}
}
</string>
    <string>// CS0184: The given expression is never of the provided (`object') type
// Line: 13
// Compiler options: -warnaserror -warn:1

public class Test
{
	static void Foo ()
	{
	}
	
	public static void Main()
	{
		bool b = Foo () is object;
	}
}
</string>
    <string>// CS0184: The given expression is never of the provided (`decimal') type
// Line: 7
// Compiler options: -warnaserror -warn:1

class A
{
	static void Main ()
	{ 
		System.Console.WriteLine (1 is decimal);
	}
}
</string>
    <string>// CS0184: The given expression is never of the provided (`Y') type
// Line: 10
// Compiler options: -warnaserror -warn:1

class Y
{
}

class X
{
	public void Foo ()
	{
		X x = null;
		if (x is Y) {
		}
	}
}
</string>
    <string>// CS0184: The given expression is never of the provided (`int') type
// Line: 10
// Compiler options: -warnaserror -warn:1

class X
{
	public void Foo&lt;T&gt; () where T : class
	{
		T t = default (T);
		if (t is int) {
		}
	}
}
</string>
    <string>// CS0184: The given expression is never of the provided (`bool') type
// Line: 13
// Compiler options: -warnaserror -warn:1

using System;

class X
{
	void Foo ()
	{
		int? i = null;
		
		if (i is bool) {
		}
	}
}
</string>
  </Examples>
</ErrorDocumentation>