Analysis: Various analysis fixes

Fixes the following CA warnings:

- [CA2204](http://msdn.microsoft.com/en-us/library/bb264488.aspx)
- [CA1816](http://msdn.microsoft.com/en-us/library/ms182269.aspx)
- [CA1506](http://msdn.microsoft.com/en-us/library/bb397994.aspx) *// Suppressed*