Fix all code analysis warnings
WindowsAzure#100
Apply CR
Merge pull request #272 from ogail/100

Fix all code analysis warnings