Open sandboxFocus

Method GetCompilationOptions

GetCompilationOptions(OutputKind, ImmutableArray<string>, NullableContextOptions, bool)

Declaration
public static CSharpCompilationOptions GetCompilationOptions(OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary, ImmutableArray<string> implicitUsings = default, NullableContextOptions nullableContextOptions = NullableContextOptions.Enable, bool warnAsErrors = false)
Parameters
Type Name Description
OutputKind outputKind
ImmutableArray<string> implicitUsings
NullableContextOptions nullableContextOptions
bool warnAsErrors
Returns
Type Description
CSharpCompilationOptions