TestCompilationFactory.CreateEmptyCSharpCompilation Method
CreateEmptyCSharpCompilation(string?, IEnumerable<Assembly>?, bool, OutputKind, ImmutableArray<string>, NullableContextOptions)
Declaration
public static CSharpCompilation CreateEmptyCSharpCompilation(string? name, IEnumerable<Assembly>? additionalAssemblies = null, bool addMetalamaReferences = true, OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary, ImmutableArray<string> implicitUsings = default, NullableContextOptions nullableContextOptions = NullableContextOptions.Enable)
Parameters
Returns
CreateEmptyCSharpCompilation(string?, IEnumerable<MetadataReference>, OutputKind, ImmutableArray<string>, NullableContextOptions)
Declaration
public static CSharpCompilation CreateEmptyCSharpCompilation(string? name, IEnumerable<MetadataReference> metadataReferences, OutputKind outputKind = OutputKind.DynamicallyLinkedLibrary, ImmutableArray<string> implicitUsings = default, NullableContextOptions nullableContextOptions = NullableContextOptions.Enable)
Parameters
Returns