Class MuLangCompilationOptions
Represents options shared by MuLang analysis and compilation.
public sealed class MuLangCompilationOptions
- Inheritance
-
MuLangCompilationOptions
- Inherited Members
Constructors
MuLangCompilationOptions()
public MuLangCompilationOptions()
Properties
Default
Gets the default compilation options.
public static MuLangCompilationOptions Default { get; }
Property Value
ExpectedResultType
Gets or sets the expected result type, or null to infer an expression result or use void for a program.
public TypeSymbol? ExpectedResultType { get; init; }
Property Value
Profile
Gets or sets the language profile, or null to use Latest.
public LanguageProfile? Profile { get; init; }
Property Value
SourceDocument
Gets or sets the source document URI, or null when unavailable.
public Uri? SourceDocument { get; init; }
Property Value
- Uri