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

Types are not suggested after required modifier #65556

Closed
Arthri opened this issue Nov 22, 2022 · 1 comment
Closed

Types are not suggested after required modifier #65556

Arthri opened this issue Nov 22, 2022 · 1 comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@Arthri
Copy link
Contributor

Arthri commented Nov 22, 2022

Version Used: 4.4.0-3.22518.13 (7856a68) on VS 17.4.0 x64 with .NET 7.0.100 x64 SDK

Steps to Reproduce:

  1. Create a class
  2. Type required
  3. Type any type name such as str
  4. Ctrl + . to pull up suggestions

A minimal repro, with source-code provided, is ideal. Using sharplab is preferred for compiler/language issues whenever possible.

class C
{
    public required /* type name here */
}

Expected Behavior: string is suggested among other types

Actual Behavior: no suggestions are made

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 22, 2022
@Youssef1313
Copy link
Member

Fixed in #64593 (in 17.5 Preview 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

3 participants