API Browser

Class

CompilationOptions

class CompilationOptions

Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: CompilationOptions.cs

Inheritance: Object → CompilationOptions

Constructors

2 items

Properties

40 items
AllowArrayCovariance: bool Whether the target permits conversions between arrays of covariant reference elements.
AllowGlobalStatements: bool No summary available.
AllowNamespaceMemberImports: bool No summary available.
AllowNamespaceMembers: bool No summary available.
AllowNullableValueTypes: bool Whether source declarations may use nullable value types; reference annotations are independent.
AllowUnsafe: bool No summary available.
CaptureAsyncExceptions: bool Whether compiler-generated async state machines capture exceptions into their builder. Disable only for an alternative target with terminal faults. This does not remove source exce…
Static member: DotNet: CompilationOptions Creates .NET defaults using only supplied references. The core library is discovered from those references and used for both binding and emission. This preset does not select or re…
EmbedCoreTypes: bool No summary available.
EnabledAnalyzers: ImmutableHashSet<string> No summary available.
EnableIsNotNullNarrowing: bool Gets whether direct value is not null checks narrow the value in the true branch. This compatibility feature is disabled by default and is intended primarily for consuming null-ori…
EnableSuggestions: bool No summary available.
LoweringTrace: ILoweringTraceSink? No summary available.
MetadataImportOptions: MetadataImportOptions? Gets explicit-only metadata import settings, or null for the default host-assisted import.
Static member: NeoCLR: CompilationOptions Creates the experimental neoCLR CLI bridge defaults using explicitly supplied NeoCLR.CoreProbe references. This does not select a native backend or Self support.
OptimizationLevel: OptimizationLevel Gets the optimization policy used when lowering and emitting code.
OutputKind: OutputKind No summary available.
PropagateAsyncCancellation: bool Provisional target protocol: IsCancelled on awaiters and SetCancelled on builders.
ReturnedValueHandlingModeConfigured: bool No summary available.
RunAnalyzers: bool No summary available.
RuntimeSelfTypeContract: RuntimeSelfTypeContract? Optional CLI marker contract for experimental native Self semantics.
RuntimeUnitContract: RuntimeUnitContract? Gets the explicitly selected emission core; null preserves the normal emit policy.
SynthesizeStructuralToString: bool Gets whether records and unions synthesize reflection-based ToString overrides. Restricted target frameworks can inherit the runtime default.
TargetCoreAssemblyName: string? No summary available.
TargetPlatform: TargetPlatform Gets the platform whose loader, runtime contract and emitter are used together.
UseGraphemeChar: bool Use text-valued Char for a runtime implementing the grapheme contract.
UseHeapAsyncStateMachines: bool Provisional target policy: retain async state in a heap object.
UseRuntimeAsync: bool No summary available.
UseUnicodeScalarChar: bool Use scalar-valued Char for a runtime that implements this target contract.

Methods

43 items
Equals(obj: object?) -> bool Determines whether the specified object is equal to the current object. Inherited from Object.Equals
GetHashCode() -> int Serves as the default hash function. Inherited from Object.GetHashCode
GetType() -> Type Gets the System.Type of the current instance. Inherited from Object.GetType
ToString() -> string? Returns a string that represents the current object. Inherited from Object.ToString
WithOptimizationLevel(optimizationLevel: OptimizationLevel) -> CompilationOptions Creates options with the specified optimization policy.
WithOutputKind(outputKind: OutputKind) -> CompilationOptions Creates options with the specified output kind.
WithTargetPlatform(targetPlatform: TargetPlatform) -> CompilationOptions Changes platform selection without resolving references or changing contract options.