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

Test Plan for Instance Members in nameof #67565

Closed
11 of 15 tasks
333fred opened this issue Mar 29, 2023 · 0 comments
Closed
11 of 15 tasks

Test Plan for Instance Members in nameof #67565

333fred opened this issue Mar 29, 2023 · 0 comments
Assignees
Milestone

Comments

@333fred
Copy link
Member

333fred commented Mar 29, 2023

Champion issue: dotnet/csharplang#4037

PR: #67461

Compiler

  • LangVersion
  • GetSymbolInfo on instance members invoked on static references
  • GetSpeculativeSymbolInfo inside a nameof context with an instance member invoked on a static
  • IOperation
  • Obsolete is not reported (same as existing behavior)
  • Accessibility issues are reported
  • All member types checked
    • Methods
    • Properties
    • Fields
    • Events
  • Use in const contexts (ie, attribute args)
  • Use in non-const contexts (ie, expressions)
  • Use in expression trees

IDE

  • Members offered in completion
@333fred 333fred self-assigned this Mar 29, 2023
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Issues and PRs which have not yet been triaged by a lead label Mar 29, 2023
@333fred 333fred added this to the C# 12.0 milestone Mar 29, 2023
@333fred 333fred removed the untriaged Issues and PRs which have not yet been triaged by a lead label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants