<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="11.0.0-preview.4.26230.115" />

Microsoft.Extensions.DependencyModel.CompilationOptions

public class CompilationOptions
public static CompilationOptions Default { get; }

public bool? AllowUnsafe { get; }

public string DebugType { get; }

public IReadOnlyList<string> Defines { get; }

public bool? DelaySign { get; }

public bool? EmitEntryPoint { get; }

public bool? GenerateXmlDocumentation { get; }

public string KeyFile { get; }

public string LanguageVersion { get; }

public bool? Optimize { get; }

public string Platform { get; }

public bool? PublicSign { get; }

public bool? WarningsAsErrors { get; }

public CompilationOptions(IEnumerable<string> defines, string languageVersion, string platform, bool? allowUnsafe, bool? warningsAsErrors, bool? optimize, string keyFile, bool? delaySign, bool? publicSign, string debugType, bool? emitEntryPoint, bool? generateXmlDocumentation)