Open sandboxFocus

Property IncludedPolyfills

IncludedPolyfills

Gets the list of polyfills that must be declared in the test compilation. A polyfill is a system type that the reference assemblies of the target framework do not declare. The only supported value is Union, which declares System.Runtime.CompilerServices.IUnion and System.Runtime.CompilerServices.UnionAttribute. To add items into this collection from a test, add this comment to your test file: // @IncludePolyfill(name1,name2).

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