Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpgradeAllProjectsToCSharp8_NullableReferenceType unit-test fails in src\EditorFeatures\CSharpTest\Diagnostics\UpgradeProject\UpgradeProjectTests.cs #30027

Closed
AlekseyTs opened this issue Sep 19, 2018 · 0 comments · Fixed by #37885

Comments

@AlekseyTs
Copy link
Contributor

        // PROTOTYPE(NullableReferenceTypes): Enable.
        [Fact(Skip = "TODO")]
        public async Task UpgradeAllProjectsToCSharp8_NullableReferenceType()
        {
            await TestLanguageVersionUpgradedAsync(
@"<Workspace>
    <Project Language=""C#"" LanguageVersion=""6"">
        <Document>
class C
{
    void A(string? [|s|])
    {
    }
}
        </Document>
    </Project>
    <Project Language=""C#"" LanguageVersion=""6"">
    </Project>
    <Project Language=""C#"" LanguageVersion=""Default"">
    </Project>
    <Project Language=""C#"" LanguageVersion=""7"">
    </Project>
    <Project Language=""Visual Basic"">
    </Project>
</Workspace>",
                LanguageVersion.CSharp8,
                parseOptions: null,
                index: 1);
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment