Fixing FxCop violation