MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingTest­OptionsLanguage­Features
Open sandboxFocus

TestOptions.LanguageFeatures Property

LanguageFeatures

Gets or sets the list of C# language features that the test should be compiled with. To set this option in a test, add this comment to your test file: // @LanguageFeature(feature) or // @LanguageFeature(feature=value).

Declaration
public ImmutableDictionary<string, string> LanguageFeatures { get; set; }
Property Value
Type Description
ImmutableDictionary<String, String>