Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0837
The first operand of an 'is' or 'as' operator may not be a lambda expression, anonymous method, or method group.