Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bnuzhouwei opened this issue Jan 8, 2023 · 1 comment

Comments

@bnuzhouwei
Copy link

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

got

System.Reflection.TargetException: Exception of type 'System.Reflection.TargetException' was thrown.
@slozier
Copy link
Contributor

slozier commented Jan 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants