fix FxCop issue when debug build

This error only happens in `build.cmd Debug`.