Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS1945
An expression tree may not contain an anonymous method expression