VB spec says that Me.M() operates on a COPY of Me in a struct
Open
Spec-Defect
- Dominant language
- No language data
- Stars
- 328
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
The current state of the VB spec says that "Me" is a value, not a variable.
Therefore, in a struct type an invocation such as
Me.M()
Is required to operate on a copy of the current object and not modify it.
Worse, the simple invocation
M()
is defined to operate on the method group Me.M, so it too may not modify the current object.
Migrated from TFS/DevDiv 1040115
Migrated from https://github.com/dotnet/roslyn/issues/4686
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.