Fix FxCop violations in Portable Formatting assembly.