Open sandboxFocus

Property RoslynIsCompileTimeOnly

RoslynIsCompileTimeOnly

Gets or sets a value indicating whether Roslyn types (Microsoft.CodeAnalysis.*) should be treated as compile-time-only. This is typically true for projects referencing Metalama.Framework.Sdk. To enable this option in a test, add this comment to your test file: // @RoslynIsCompileTimeOnly.

Declaration
public bool? RoslynIsCompileTimeOnly { get; set; }
Property Value
Type Description
bool?