Fixed a StyleCop warnings.
Fixed FxCop warnings.