Skip to content

Commit 9e81ef5

Browse files
authored
Remove no longer necessary Roslyn lexer experimental suppression (#51410)
1 parent 306af36 commit 9e81ef5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Cli/dotnet/Commands/Run/VirtualProjectBuildingCommand.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,13 +1431,11 @@ static void WriteImport(TextWriter writer, string project, CSharpDirective.Sdk s
14311431
}
14321432
}
14331433

1434-
#pragma warning disable RSEXPERIMENTAL003 // 'SyntaxTokenParser' is experimental
14351434
public static SyntaxTokenParser CreateTokenizer(SourceText text)
14361435
{
14371436
return SyntaxFactory.CreateTokenParser(text,
14381437
CSharpParseOptions.Default.WithFeatures([new("FileBasedProgram", "true")]));
14391438
}
1440-
#pragma warning restore RSEXPERIMENTAL003 // 'SyntaxTokenParser' is experimental
14411439

14421440
/// <param name="reportAllErrors">
14431441
/// If <see langword="true"/>, the whole <paramref name="sourceFile"/> is parsed to find diagnostics about every app directive.

0 commit comments

Comments
 (0)