-
Notifications
You must be signed in to change notification settings - Fork 859
'No matching overload' error has too wide range #14284
Copy link
Copy link
Labels
Area-LangService-DiagnosticsFCS code analysis, diagnostics, red squiggliesFCS code analysis, diagnostics, red squiggliesBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.
Milestone
Metadata
Metadata
Labels
Area-LangService-DiagnosticsFCS code analysis, diagnostics, red squiggliesFCS code analysis, diagnostics, red squiggliesBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
Status
New
In the following example the error should probably cover only
Methodrange.But it covers the whole expression where the method is used:
This behaviour is especially bad on bigger expressions, lambda arguments, and so on, as the error hides every other error and warning inside the expression.