Skip to content

Range and Index are already defined for net standard 2.1

Currently the slim classes to support C# 9 range slicing features in net standard 2.0 are also included in net standard 2.1.

This is wrong as the Range and Index classes are supported by net standard 2.1.

The solution is simple, remove the NETSTANDARD2_1 define constant from the __Internal/Slicing.cs file.