Code Annotations
ReSharper | Options | Code Inspection | Code Annotations

This page of ReSharper options allows you to obtain the code annotation attribute classes as well as to make related configurations.
JetBrains Annotations - official NuGet package | Click this link to go to the JetBrains Annotations home page where you can obtain the annotations using NuGet. |
Automatically propagate annotations | If this check box is selected, some ReSharper features will automatically insert annotation attributes. For example, the 'Check parameter for null' context action will add the |
Default annotation namespace | Allows you to choose the namespace where ReSharper looks for code annotation types. This option may be helpful if you have the same annotation types in several namespaces. For more information, refer to Annotations in source code. |
List of namespaces with code annotation attributes | ReSharper automatically detects namespaces in the solution and referenced assemblies with valid annotation attribute types and displays the list of these namespaces, if any. The default implementation of the annotation attributes are declared in the There also may be cases when your solution contains several implementations of the annotation attributes, for example, you have classes with the same names as ReSharper annotations classes ( |
Annotations source code | In this section, you can copy the source code of the Before copying the annotations, you can customize the classes in two ways:
|
note
ReSharper's settings are saved in settings layers, which allow you to have different settings for different solutions and to share your settings with your team.