// (3,17): warning CS1658: The feature 'warning action enable or safeonly' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.. See also error CS8652.
// #pragma warning enable nullable
Diagnostic(ErrorCode.WRN_ErrorOverride,"enable").WithArguments("The feature 'warning action enable or safeonly' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.","8652").WithLocation(3,17),
...
...
@@ -1936,7 +1936,7 @@ public void PragmaWarning_EnableSafeOnlyNullable()
Diagnostic(ErrorCode.WRN_ErrorOverride,"safeonly").WithArguments("The feature 'warning action enable or safeonly' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.","8652").WithLocation(15,17),
// (6,9): error CS8652: The feature 'async streams' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.
@@ -2122,7 +2122,7 @@ public void RecursivePattern_01()
[Fact]
publicvoidBrokenPattern_06()
{
UsingStatement(@"switch (e) { case (: ; }",TestOptions.RegularWithoutRecursivePatterns,
UsingStatement(@"switch (e) { case (: ; }",TestOptions.RegularWithoutRecursivePatterns,
// (1,19): error CS8652: The feature 'recursive patterns' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.