internal static CompilationVerifier CompileAndVerifyOnWin8Only( this CSharpTestBase testBase, string source, MetadataReference[] additionalRefs = null, string expectedOutput = null) { var isWin8 = OSVersion.IsWin8; return(testBase.CompileAndVerifyWinRt( source, additionalRefs: additionalRefs, expectedOutput: isWin8 ? expectedOutput : null, verify: isWin8)); }