-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Test plan for "consumption of init-only properties" #50792
Copy link
Copy link
Open
Labels
Area-CompilersLanguage-VBTest-GapDescribes a specific feature or scenario that does not have test coverageDescribes a specific feature or scenario that does not have test coverage
Milestone
Description
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,MyBaseandMyClass - on some other instance
- on conversions
- on
- set from
Withexpression- on
Me,MyBaseandMyClass - on some other instance
- on conversions
- on
- set on
ByRefusage 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
foreachcalls getterCurrent)- Dictionay member access
Me!abc= value -
ReDim -
Erase
- Dictionay member access
- symbol (
.IsInitOnly), symbol display
Productivity:
- QuickInfo on VB usage (verified manually)
- GoToDev (verified manually)
Relates to C# feature: init-only setters
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-CompilersLanguage-VBTest-GapDescribes a specific feature or scenario that does not have test coverageDescribes a specific feature or scenario that does not have test coverage