Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0646
Cannot specify the DefaultMember attribute on a type containing an indexer