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
System.Collections.Immutable.ImmutableDictionary<System.String, System.String>