Migrated into VS2012 and suppressed a code analysis warning