MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Unit­TestingTest­Compilation­FactoryGet­Compilation­Options
Open sandboxFocus

TestCompilationFactory.GetCompilationOptions Method

GetCompilationOptions(OutputKind, ImmutableArray<string>, NullableContextOptions)

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