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

Incorrect quick info for ValueTuple<T> #18311

Closed
sharwell opened this issue Mar 30, 2017 · 0 comments
Closed

Incorrect quick info for ValueTuple<T> #18311

sharwell opened this issue Mar 30, 2017 · 0 comments
Assignees
Labels
Area-IDE Bug Feature - Tuples Tuples Resolution-Fixed The bug has been fixed and/or the requested behavior has been implemented
Milestone

Comments

@sharwell
Copy link
Member

Version Used: VS 2017 (15.0.0+26228.9)

Steps to Reproduce:

  1. Use the following code:

    void Foo()
    {
        var y = ValueTuple.Create(1);
    }
  2. Hover over var

  3. Hover over y

Expected Behavior:

  • In step 2, the result should be struct System.ValueTuple<T>, with T is int.
  • In step 3, the result should be ValueTuple<int, int> y

Actual Behavior:

  • In step 2, the result is (System.Int32)
  • In step 3, the result is (int) y

Neither of these are valid tuple syntaxes in C#.

@Pilchie Pilchie added this to the Unknown milestone Mar 30, 2017
@Pilchie Pilchie added the help wanted The issue is "up for grabs" - add a comment if you are interested in working on it label Mar 30, 2017
@jcouv jcouv added the Feature - Tuples Tuples label Apr 6, 2017
@sharwell sharwell removed the help wanted The issue is "up for grabs" - add a comment if you are interested in working on it label Apr 6, 2017
@sharwell sharwell modified the milestones: 15.3, Unknown Apr 7, 2017
sharwell added a commit that referenced this issue Apr 7, 2017
Fixes #18311 - Incorrect quick info for ValueTuple<T>
@sharwell sharwell added the Resolution-Fixed The bug has been fixed and/or the requested behavior has been implemented label Apr 7, 2017
@sharwell sharwell self-assigned this Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug Feature - Tuples Tuples Resolution-Fixed The bug has been fixed and/or the requested behavior has been implemented
Projects
None yet
Development

No branches or pull requests

3 participants