Analyzer implemented in https://github.com/microsoft/testfx/pull/4493 doesn't have a corresponding codefix. An implementation of a codefix should be straightforward, just replacing AreSame with AreEqual. AB#2332313