Revert "Resharper guide code clean up"

This reverts commit 19452e9c9f7dd07baf0a752dd8b879b91b4c5c7a.