未验证 提交 bd567038 编写于 作者: M msftbot[bot] 提交者: GitHub

Merge pull request #47943 from AlekseyTs/VarianceSafetyForStaticMembers_102

Remove PROTOTYPE comments from tests for variance safety with static members.
......@@ -59287,7 +59287,7 @@ interface I2<out T1, in T2>
parseOptions: TestOptions.RegularPreview,
targetFramework: TargetFramework.NetStandardLatest);
#if false // PROTOTYPE: enable this branch once https://github.com/dotnet/runtime/issues/39612 is fixed
#if false // https://github.com/dotnet/roslyn/issues/46533: enable this branch once https://github.com/dotnet/runtime/issues/39612 is fixed
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null :
@"a
b").VerifyDiagnostics();
......@@ -59333,7 +59333,7 @@ interface I2<out T1, in T2>
parseOptions: TestOptions.RegularPreview,
targetFramework: TargetFramework.NetStandardLatest);
#if false // PROTOTYPE: enable this branch once https://github.com/dotnet/runtime/issues/39612 is fixed
#if false // https://github.com/dotnet/roslyn/issues/46533: enable this branch once https://github.com/dotnet/runtime/issues/39612 is fixed
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null :
@"a
b").VerifyDiagnostics();
......@@ -59401,7 +59401,7 @@ static T3 Print<T3>(T3 x)
parseOptions: TestOptions.RegularPreview,
targetFramework: TargetFramework.NetStandardLatest);
#if false // PROTOTYPE: enable this branch once https://github.com/dotnet/runtime/issues/39612 is fixed
#if false // https://github.com/dotnet/roslyn/issues/46533: enable this branch once https://github.com/dotnet/runtime/issues/39612 is fixed
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null :
@"a
b").VerifyDiagnostics();
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册