Class
CompilationOptions
class CompilationOptions
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: CompilationOptions.cs
Inheritance: Object → CompilationOptions
Constructors
2 items
CompilationOptions()
No summary available.
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.
AsyncInvestigation: AsyncInvestigationOptions
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…
DisabledAnalyzers: ImmutableHashSet<string>
No summary available.
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.
ExternalConstantValues: ImmutableDictionary<string, string>
No summary available.
FrameworkProjectionMode: FrameworkProjectionMode
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.
OverloadResolutionLogger: IOverloadResolutionLogger?
No summary available.
PerformanceInstrumentation: PerformanceInstrumentation
No summary available.
PropagateAsyncCancellation: bool
Provisional target protocol: IsCancelled on awaiters and SetCancelled on builders.
ReturnedValueHandlingMode: ReturnedValueHandlingMode
No summary available.
ReturnedValueHandlingModeConfigured: bool
No summary available.
RunAnalyzers: bool
No summary available.
RuntimeIterationContract: RuntimeIterationContract?
No summary available.
RuntimePropagationContract: RuntimePropagationContract?
No summary available.
RuntimeSelfTypeContract: RuntimeSelfTypeContract?
Optional CLI marker contract for experimental native Self semantics.
RuntimeTypeOfContract: RuntimeTypeOfContract?
No summary available.
RuntimeUnitContract: RuntimeUnitContract?
Gets the explicitly selected emission core; null preserves the normal emit policy.
SpecificDiagnosticOptions: ImmutableDictionary<string, ReportDiagnostic>
No summary available.
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
WithAllowArrayCovariance(allow: bool) -> CompilationOptions
No summary available.
WithAllowGlobalStatements(allowGlobalStatements: bool) -> CompilationOptions
No summary available.
WithAllowNamespaceMemberImports(allowNamespaceMemberImports: bool) -> CompilationOptions
No summary available.
WithAllowNamespaceMembers(allowNamespaceMembers: bool) -> CompilationOptions
No summary available.
WithAllowNullableValueTypes(allowNullableValueTypes: bool) -> CompilationOptions
No summary available.
WithAllowUnsafe(allowUnsafe: bool) -> CompilationOptions
No summary available.
WithAsyncCancellationPropagation(enabled: bool) -> CompilationOptions
No summary available.
WithAsyncExceptionCapture(enabled: bool) -> CompilationOptions
No summary available.
WithAsyncInvestigation(asyncInvestigation: AsyncInvestigationOptions?) -> CompilationOptions
No summary available.
WithDisabledAnalyzers(disabledAnalyzers: IEnumerable<string>) -> CompilationOptions
No summary available.
WithEmbedCoreTypes(embedCoreTypes: bool) -> CompilationOptions
No summary available.
WithEnabledAnalyzers(enabledAnalyzers: IEnumerable<string>) -> CompilationOptions
No summary available.
WithEnableIsNotNullNarrowing(enabled: bool) -> CompilationOptions
No summary available.
WithEnableSuggestions(enableSuggestions: bool) -> CompilationOptions
No summary available.
WithExactSpecificDiagnosticOptions(options: ImmutableDictionary<string, ReportDiagnostic>) -> CompilationOptions
No summary available.
WithExternalConstantValues(values: IEnumerable<KeyValuePair<string, string>>) -> CompilationOptions
No summary available.
WithFrameworkProjectionMode(mode: FrameworkProjectionMode) -> CompilationOptions
No summary available.
WithGraphemeChar(enabled: bool) -> CompilationOptions
No summary available.
WithHeapAsyncStateMachines(enabled: bool) -> CompilationOptions
No summary available.
WithLoweringTrace(loweringTrace: ILoweringTraceSink?) -> CompilationOptions
No summary available.
WithMetadataImportOptions(options: MetadataImportOptions?) -> CompilationOptions
No summary available.
WithOptimizationLevel(optimizationLevel: OptimizationLevel) -> CompilationOptions
Creates options with the specified optimization policy.
WithOutputKind(outputKind: OutputKind) -> CompilationOptions
Creates options with the specified output kind.
WithOverloadResolutionLogger(overloadResolutionLogger: IOverloadResolutionLogger?) -> CompilationOptions
No summary available.
WithPerformanceInstrumentation(instrumentation: PerformanceInstrumentation?) -> CompilationOptions
No summary available.
WithReturnedValueHandlingMode(mode: ReturnedValueHandlingMode) -> CompilationOptions
No summary available.
WithRunAnalyzers(runAnalyzers: bool) -> CompilationOptions
No summary available.
WithRuntimeAsync(useRuntimeAsync: bool) -> CompilationOptions
No summary available.
WithRuntimeIterationContract(contract: RuntimeIterationContract?) -> CompilationOptions
No summary available.
WithRuntimePropagationContract(contract: RuntimePropagationContract?) -> CompilationOptions
No summary available.
WithRuntimeSelfTypeContract(contract: RuntimeSelfTypeContract?) -> CompilationOptions
No summary available.
WithRuntimeTypeOfContract(contract: RuntimeTypeOfContract?) -> CompilationOptions
No summary available.
WithRuntimeUnitContract(contract: RuntimeUnitContract?) -> CompilationOptions
No summary available.
WithSpecificDiagnosticOption(diagnosticId: string, option: ReportDiagnostic) -> CompilationOptions
No summary available.
WithSpecificDiagnosticOptions(options: IDictionary<string, ReportDiagnostic>) -> CompilationOptions
No summary available.
WithSynthesizeStructuralToString(enabled: bool) -> CompilationOptions
No summary available.
WithTargetCoreAssemblyName(targetCoreAssemblyName: string?, runtimeUnitContract?: RuntimeUnitContract?) -> CompilationOptions
No summary available.
WithTargetPlatform(targetPlatform: TargetPlatform) -> CompilationOptions
Changes platform selection without resolving references or changing contract options.
WithUnicodeScalarChar(enabled: bool) -> CompilationOptions
No summary available.