Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8817
Both partial method declarations must have the same return type.