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

Span<T> in async methods not supported #27147

Closed
glucaci opened this issue May 25, 2018 · 4 comments
Closed

Span<T> in async methods not supported #27147

glucaci opened this issue May 25, 2018 · 4 comments

Comments

@glucaci
Copy link

glucaci commented May 25, 2018

In actual release Span<T> cannot be used in async methods.

// (13,9): error CS4012: Parameters or locals of type 'Span<int>' cannot be declared in async methods or lambda expressions.

It's any plan to remove this constraint?

@svick
Copy link
Contributor

svick commented May 25, 2018

See dotnet/csharplang#1331.

@Eli-Black-Work
Copy link

@glucaci Can we close this as a duplicate of dotnet/csharplang#1331 ?

@glucaci
Copy link
Author

glucaci commented Jan 6, 2022

Sure, thanks!

@glucaci glucaci closed this as completed Jan 6, 2022
@Eli-Black-Work
Copy link

@glucaci Np! 🙂

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

No branches or pull requests

4 participants