Roslyn: Span<T> stackalloc IntelliSense

Created on 5 Dec 2017  路  2Comments  路  Source: dotnet/roslyn

Version Used:

VS 15.5.0

Steps to Reproduce:

  1. type Span<byte> s = stac...
  2. Ctrl + Space

Expected Behavior:

C# 7.2 introduce safe stackalloc with the Span<T> struct. So stackalloc keyword should be listed in the IntelliSense window.

Actual Behavior:

image

Area-IDE Bug New Language Feature - Readonly References help wanted

All 2 comments

FYI @OmarTawfik (in case you want to take a look)

Code for this is in StackAllocKeywordRecommender.cs

Was this page helpful?
0 / 5 - 0 ratings