How do I tell ReSharper that an attribute means that a method is used?
You need to use JetBrains Annotations, and mark the attribute with an MeansImplicitUseAttribute. You can either reference JetBrains.Annotations.dll directly, or you can copy the annotations source code (from ReSharper / Options / Code Inspection / Code Annotations) into your solution. If you need to annotate some external assembly you don’t own, you need to create … Read more