Replies: 3 comments
-
From discussion with extensions WG last week, this behavior is expected. You can't refer to extension members by simple name. |
Beta Was this translation helpful? Give feedback.
-
From latest discussion in LDM, we decided to block this scenario until we can find a satisfactory design: In the meantime, PR dotnet/roslyn#79021 adds that a dedicated error |
Beta Was this translation helpful? Give feedback.
-
Closing as by-design for C# 14 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Version Used:
Visual Studio 17.14.0 Preview 7.0
Steps to Reproduce:
Diagnostic Id:
Expected Behavior:
I expect it to compile and return
"Name"
;Actual Behavior:
Only
nameof(get_Name)
compiles.Beta Was this translation helpful? Give feedback.
All reactions