Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8201
Out variable and pattern variable declarations are not allowed within a query clause.