Analysis: Fixes various CA warnings

- [CA1502](http://msdn.microsoft.com/en-us/library/ms182212.aspx)
- [CA1822](http://msdn.microsoft.com/en-us/library/ms245046.aspx)
- [CA1823](http://msdn.microsoft.com/en-us/library/ms245042.aspx)