public bool EnableFerrousAnalyzersGets or sets a value indicating whether all built-in Ferrous Roslyn analyzers are enabled. Defaults to true.
All Types / Ferrous.Testing
public sealed class CompileAssertOptions
Configuration options for CompileAssert in-memory compilations.
public bool EnableFerrousAnalyzersGets or sets a value indicating whether all built-in Ferrous Roslyn analyzers are enabled. Defaults to true.
public bool EnableFerrousGeneratorsGets or sets a value indicating whether Ferrous source generators ([DiscriminatedUnion], [Newtype]) are enabled. Defaults to true.
public bool TreatWarningsAsErrorsGets or sets a value indicating whether compiler and analyzer warnings should fail CompileAssert.Succeeds. Defaults to false.
public ImmutableArray<MetadataReference> AdditionalReferencesGets or sets additional metadata references to include in the compilation.
public ImmutableArray<DiagnosticAnalyzer> AdditionalAnalyzersGets or sets additional Roslyn diagnostic analyzers to run during compilation.
public ImmutableArray<IIncrementalGenerator> AdditionalGeneratorsGets or sets additional Roslyn incremental source generators to run during compilation.