Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0836
Cannot use anonymous type in a constant expression