revert some resharper changes
Merge pull request #364 from erendrake/alternative_fix

revert some resharper changes