Open sandboxFocus

Property ForbiddenConstants

ForbiddenConstants

Gets the set of preprocessor symbols that are forbidden for this test, test would be skipped if any is present. To add an item into this collection from a test, add this comment to your test file: // @ForbiddenConstant(constant).

Declaration
public List<string> ForbiddenConstants { get; }
Property Value
Type Description
List<string>