Skip to content

Test Plan for Instance Members in nameof #67565

@333fred

Description

@333fred

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions