JetBrains Fleet
 

List of code inspections in C#

Last modified: 11 February 2024

This topic lists code inspections available in C#. Under each inspection, you can see the EditorConfig property that you can use to configure that inspection.

Inspection settings in .editorconfig files are configured similarly to other properties — by adding the corresponding lines:

For example, you can change the severity level of the Possible 'System.NullReferenceException' inspection to Error with the following line:

or you can disable the Redundant argument with default value inspection with the following line: