Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0720
'{0}': cannot declare indexers in a static class