Rider Help

Code Inspection: Redundant 'partial' modifier on type declaration

Rider detects types declared as partial but consisting of only one part. If no other parts of the class are found in any file within the project, Rider suggests removing the partial modifier from the class declaration.

Alternatively, you can create more parts of the class by invoking the Extract Members to Partial refactoring on the class name. The refactoring will help you create a new part of the class and move selected members there.

Last modified: 11 October 2017

See Also