Revert "Update ExtensionMethods.cs"

This reverts commit ad6712f3667de7390d71c6eb449dd65b57c0d60f.