JetBrains Rider 2024.3 Help

Code inspection: Redundant 'partial' modifier on type declaration

JetBrains 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, JetBrains 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 February 2024