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 "consumption of init-only properties" #50792

Open
26 of 27 tasks
jcouv opened this issue Jan 26, 2021 · 0 comments
Open
26 of 27 tasks

Test plan for "consumption of init-only properties" #50792

jcouv opened this issue Jan 26, 2021 · 0 comments
Assignees
Labels
Area-Compilers Language-VB Test-Gap Describes a specific feature or scenario that does not have test coverage
Milestone

Comments

@jcouv
Copy link
Member

jcouv commented Jan 26, 2021

Main PR: #50414

Compiler:

  • spec?
  • language version (16 vs. 16.9)
  • set from object creation initializer
  • set inside constructor (versus some other method)
    • on Me, MyBase and MyClass
    • on some other instance
    • on conversions
  • set from With expression
    • on Me, MyBase and MyClass
    • on some other instance
    • on conversions
  • set on ByRef usage of property
  • using init-only indexer (above permutations)
  • in compound assignment
  • from attribute usage
  • override property
    • consume result from C#
  • implement interface property
  • decoding PE symbol from C#: modopt vs modreq, correct vs. incorrect attribute placement (on getter, other method, ...)
  • late bound access (like dynamic)
  • usage in synthesized code? (like foreach calls getter Current)
    • Dictionay member access Me!abc= value
    • ReDim
    • Erase
  • symbol (.IsInitOnly), symbol display

Productivity:

  • QuickInfo on VB usage (verified manually)
  • GoToDev (verified manually)

Relates to C# feature: init-only setters

@jcouv jcouv added this to the 16.9 milestone Jan 26, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Jan 26, 2021
@jcouv jcouv added Test Test failures in roslyn-CI Test-Gap Describes a specific feature or scenario that does not have test coverage and removed untriaged Issues and PRs which have not yet been triaged by a lead Test Test failures in roslyn-CI labels Jan 26, 2021
@jcouv jcouv self-assigned this Jan 26, 2021
@jcouv jcouv removed their assignment Jan 29, 2021
@jaredpar jaredpar modified the milestones: 16.9, Compiler.Next Apr 26, 2021
@jaredpar jaredpar modified the milestones: Compiler.Next, Backlog Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers Language-VB Test-Gap Describes a specific feature or scenario that does not have test coverage
Projects
None yet
Development

No branches or pull requests

3 participants