Resoling Code Analysis warnings