ReSharper Web Help

ReSharper | Options | Code Inspection | Generated Code
Item Description

Generated files and directories

This area contains the list of generated files and directories that should be excluded from the scope of code analysis.

Add File

Click this button to add a file to the list.

Add Folder

Click this button to add a directory to the list.

Remove

Click this button to remove a selected item from the list.

Generated file masks

This area contains the list of file types that should be excluded from the scope of code analysis. Four file types are excluded by default:

  • *.Designer.cs
  • *.Designer.vb
  • *.Generated.cs
  • *.Generated.vb

Use Add, Edit, and Remove buttons to modify the list of file masks according to your individual preferences.

Generated code regions

This area lets you exclude certain regions from the scope of code analysis. Four auto-generated regions are excluded by default:

  • Windows Form Designer generated code
  • Component Designer generated code
  • Designer generated code
  • Web Form Designer generated code
Use Add, Edit, and Remove buttons to modify the list of regions according to your individual preferences.