CSC crashes (instead of emitting error CS0154) when dotting off a setter-only property of type dynamic #9945
Labels
Area-Compilers
Bug
Tenet-Compatibility
Violation of forwards/backwards compatibility in a design-time piece.
Milestone
Version Used:
VS2015 Update 2 RC
Steps to Reproduce:
Create a console app with the following code, and build it:
Expected Behavior:
Both
GetType()
lines should emit CS0154 "property cannot be used in this context because it lacks a get accessor"Actual Behavior:
The second
GetType()
line causes a compiler crash withThe text was updated successfully, but these errors were encountered: