<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0837</ErrorName>
  <Examples>
    <string>// CS0837: The `as' operator cannot be applied to a lambda expression, anonymous method, or method group
// Line: 14

class X
{
	delegate void D ();
	
	static void Test (D d)
	{
	}
	
	static void Main ()
	{
		Test ((() =&gt; { }) as D);
	}
}
</string>
    <string>// CS0837: The `is' operator cannot be applied to a lambda expression, anonymous method, or method group
// Line: 10

using System;
 
class Test
{
	static void Main ()
	{
		var res = Main is object;
	}
}</string>
    <string>// CS0837: The `is' operator cannot be applied to a lambda expression, anonymous method, or method group
// Line: 11

using System;
using System.Linq.Expressions;

class C
{
	public static void Main ()
	{
		Expression&lt;Func&lt;bool&gt;&gt; e = () =&gt; "1".ToString is string;
	}
}</string>
    <string>// CS0837: The `is' operator cannot be applied to a lambda expression, anonymous method, or method group
// Line: 8

class X
{
	static void Main ()
	{
		if (delegate {} is int) {
			return;
		}
	}
}
</string>
  </Examples>
</ErrorDocumentation>