When the Code Contracts rewriter is enabled (see DotNetAnalyzers/Proposals#1), the code fix behavior should change in two ways:
- The added code should be Contract.Requires<ArgumentNullException>(p != null, nameof(p));
- The refactoring should only apply to a base method, and not to methods which override a base implementation and/or implement an interface method.