I'm using PostSharp and ReSharper together in a variety of projects, specifically, making use of both PostSharp's code contract enforcement, and of ReSharper's annotations in the interest of better code.
Trouble is, when it comes to nullability, I end up with lots of parameter, etc., declarations that look like this:
public void Foo ([Required] [JetBrains.Annotations.NotNull] object bar)
...in order to both enforce with the former and annotate with the latter that bar cannot be null.
Is there a way in which I can configure ReSharper to treat the presence of the [Required] attribute as equivalent to [NotNull] for annotation purposes, or some other method (I'm not particular as to how) to avoid having to repeat myself like this for every not-null parameter, etc.?