CLSCompliant warning fixes
This whole try/catch block is only used on WindowsPhone, fix the warning by making it totally so.
Make this a const except on windows phone to fix the warning
Move code to stop warning.
Comment for prePass. WP8 build now has no warnings
More ClsCompliance
Moving stuff around for warnings
Merge pull request #2836 from danzel/warning-improvements

Warning improvements