Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0751
A partial method must be declared within a partial class or partial struct