To copy and paste declarations of ReSharper code annotation attributes into your solution
  1. Choose ReSharper | Options | Code Inspection | Code Annotations in the menu bar.
  2. Click Copy default implementation to clipboard to copy declarations of ReSharper code annotation attributes.
  3. Click OK to close the ReSharper Options dialog box.
  4. Paste the default implementation into an empty C# code file in your project.
  5. If required, move the default implementation to another namespace.
To mark a namespace as containing declarations of ReSharper code annotation attributes and set a default annotation namespace
  1. Choose ReSharper | Options | Code Inspection | Code Annotations in the menu bar.
  2. The namespace where you've transferred the code annotation attributes should be now listed in the Namespaces with code annotation attributes area. Check its entry to mark the namespace as containing the declarations of the attributes.
  3. Optionally, to configure this namespace as the default code annotation namespace, select it in the Default annotation namespace drop-down list in the lower part of the tab.
  4. Click OK to close the ReSharper Options dialog box.