Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS9045
Cannot use static local '{0}' in a codeblock.