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

Field missing from completion list #19101

Closed
JoshVarty opened this issue Apr 28, 2017 · 1 comment
Closed

Field missing from completion list #19101

JoshVarty opened this issue Apr 28, 2017 · 1 comment
Labels
Area-IDE Resolution-By Design The behavior reported in the issue matches the current design

Comments

@JoshVarty
Copy link
Contributor

Version Used: 15.0.0+26228.12

First noted: #18359 (comment)

I don't believe this is directly related though because this has nothing to do with switch and the missing entry is a field.

Steps to Reproduce:

  1. File > New Solution > C# Console App
  2. Add reference to Microsoft.VisualStudio.Shell.15.0
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.Shell.15.0.dll
  3. Use following code:
using Microsoft.VisualStudio;

namespace IntellisenseBug
{
    class Program
    {
        static void Main(string[] args)
        {
            var x = VSConstants.VsStd14;
        }
    }
}
  1. Try to get completion for the field VSConstants.VsStd14.

Expected Behavior:

VSConstants.VsStd14 shows up in completion

Actual Behavior:

VSConstants.VsStd14 never shows up, despite appearing to correctly bind to a symbol (QuickInfo and GoToDefinition work on it).

image

@Pilchie Pilchie added Area-IDE Resolution-By Design The behavior reported in the issue matches the current design labels Apr 28, 2017
@Pilchie
Copy link
Member

Pilchie commented Apr 28, 2017

This field has EditorBrowsable(EditorBrowsableState.Never)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Resolution-By Design The behavior reported in the issue matches the current design
Projects
None yet
Development

No branches or pull requests

3 participants