net9.0
namespace Microsoft.CodeAnalysis.CSharp
{
    public sealed class CSharpCompilationOptions : CompilationOptions, IEquatable<CSharpCompilationOptions!>
    {
        public CSharpCompilationOptions(OutputKind outputKind, bool reportSuppressedDiagnostics = false, string? moduleName = null, string? mainTypeName = null, string? scriptClassName = null, IEnumerable<string!>? usings = null, OptimizationLevel optimizationLevel = OptimizationLevel.Debug, bool checkOverflow = false, bool allowUnsafe = false, string? cryptoKeyContainer = null, string? cryptoKeyFile = null, ImmutableArray<byte> cryptoPublicKey = default, bool? delaySign = default, Platform platform = Platform.AnyCpu, ReportDiagnostic generalDiagnosticOption = ReportDiagnostic.Default, int warningLevel = 4, IEnumerable<KeyValuePair<string!, ReportDiagnostic>>? specificDiagnosticOptions = null, bool concurrentBuild = true, bool deterministic = false, XmlReferenceResolver? xmlReferenceResolver = null, SourceReferenceResolver? sourceReferenceResolver = null, MetadataReferenceResolver? metadataReferenceResolver = null, AssemblyIdentityComparer? assemblyIdentityComparer = null, StrongNameProvider? strongNameProvider = null, bool publicSign = false, MetadataImportOptions metadataImportOptions = MetadataImportOptions.Public, NullableContextOptions nullableContextOptions = NullableContextOptions.Disable);
    }
}
nuget.org
0.3 %
Reference this API
Upgrade Planner
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
Assemblies

Microsoft.CodeAnalysis.CSharp , Version=4.11.0.0, PublicKeyToken=31bf3856ad364e35

Microsoft.CodeAnalysis.CSharp , Version=4.12.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.CodeAnalysis.CSharp.

Package Microsoft.CodeAnalysis.CSharp (4.11.0) net8.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

11/22/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙