Inaccurate error message when attempting to use a property as a ref
#60807
Labels
Area-Compilers
Bug
Concept-Diagnostic Clarity
The issues deals with the ease of understanding of errors and warnings.
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Version Used: current main on SharpLab (eb3ccc5)
Steps to Reproduce:
Compile the following code:
Actual Behavior:
Expected Behavior:
An error message that does not talk about
ref
parameters, since no method with aref
parameter is involved.The text was updated successfully, but these errors were encountered: