Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0122
'{0}' is inaccessible due to its protection level