Rider Help

Generated Code

File | Settings | Editor | Inspection Settings | Generated Code for Windows and Linux
Rider | Preferences | Editor | Inspection Settings | Generated Code for macOS
Ctrl+Alt+S /help/img/rider/2017.1/settings.png


On this page of Rider options, you can specify files and code regions containing automatically generated code. For these items, Rider runs only those code inspections that check code for compiler errors and warnings. Some file masks and regions, which are used by Visual Studio for generated code, e.g. *.designer.cs are included in this list by default, but you can change the default settings if necessary.

The list of items containing generated code can also be used for disabling code style and cleanup for generated code.

Last modified: 11 October 2017