IDE0007 reported for stackalloc to Span<T> #22768
Labels
Area-IDE
Bug
New Language Feature - Readonly References
Readonly References
Resolution-Fixed
The bug has been fixed and/or the requested behavior has been implemented
Milestone
Version Used: 15.5 Preview 1
Steps to Reproduce:
Expected Behavior:
IDE0007 is not reported, because a change to use
var
also changes the type ofspan
.Actual Behavior:
IDE0007 is reported, and the code fix causes the code to break.
The text was updated successfully, but these errors were encountered: