Navigation: X# Documentation > X# Compiler Errors and Warnings
Warning XS0054
Inconsistent accessibility: indexer return type '{1}' is less accessible than indexer '{0}'