Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8082
Sub-expression cannot be used in an argument to nameof.