In C#, a partial method has an optional implementation. Without an implementation, the compiler will remove the method and all calls to it.
In c#, partial methods are methods defined with the partial
modifier.
Partial methods can be defined as part of a partial class or struct, and have an optional implementation. If there is no implementation in any of the parts of the class or struct, the compiler will remove this method and any calls to it.
References
- Partial Classes and Methods (C# Programming Guide)