IronLanguages / ironpython2

Implementation of the Python programming language for .NET Framework; built on top of the Dynamic Language Runtime (DLR).

Home Page:http://ironpython.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

System.ReadOnlySpan: Exception of type 'System.Reflection.TargetException' was thrown

bnuzhouwei opened this issue · comments

import System
System.ReadOnlySpan[int]((2,3,4))

got

System.Reflection.TargetException: Exception of type 'System.Reflection.TargetException' was thrown.

Span cannot be boxed and so it cannot be used with IronPython.