Navigation: X# 文档 > X# 编译器错误和警告
Error XS8796
Partial method '{0}' must have accessibility modifiers because it has a non-void return type.