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

TestOptions.LanguageFeatures Property


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).

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