net9.0
namespace Microsoft.CodeAnalysis.CSharp
{
public static class SyntaxFactory
{
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("The diagnosticOptions parameter is obsolete due to performance problems, if you are passing non-null use CompilationOptions.SyntaxTreeOptionsProvider instead", false)]
public static SyntaxTree! ParseSyntaxTree(SourceText! text, ParseOptions? options, string! path, ImmutableDictionary<string!, ReportDiagnostic>? diagnosticOptions, CancellationToken cancellationToken);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
.NET | 5.06.07.08.09.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net9.0 | |
Assembly | Microsoft.CodeAnalysis.CSharp , Version=4.12.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | Microsoft.CodeAnalysis.CSharp (4.12.0) net8.0 |
Obsolete | The diagnosticOptions parameter is obsolete due to performance problems, if you are passing non-null use CompilationOptions.SyntaxTreeOptionsProvider instead |
Platform Restrictions | This API is supported on all platforms. |