Way to express "Simple" Expression Bodied Members
- Dominant language
- No language data
- Stars
- 328
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
Auto ReadOnly Properties are convenient for when we can express our intention at initialization
```vbnet
Friend Overrides ReadOnly Property CanConstruct As Boolean = False
```
Sometime I like it to just as convenient to express what should happen at invocation, especially if it just a simple express / statement (IE a single Return / Throw ).
```vbnet
Friend Overrides ReadOnly Property CanConstruct As Boolean => Throw New NotSupportedException()
Friend Overrides ReadOnly Property CanConstruct As Boolean => Throw New NotImplementedException()
```
It would reduce the amount you'd have to read and type 80% per a "simple" property.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.