Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8799
Both partial method declarations must have identical accessibility modifiers.