[Mono-devel-list] Do we really need "related location" for CS0136?
atsushi at ximian.com
Fri May 27 03:52:56 EDT 2005
I created a patch for mcs that 1) adds Location property to
ParameterBase, and 2) removes Location property from Parameters.
On Parameter class there was a comment:
//TODO: Add location member to this or base class for better error
location and all methods simplification.
For Parameters.Location it is only used for CS0136 where IMHO
we don't need "related location" information (since it must be
always the exact declaration part). So I would suggest to just
remove that reporting but for now I just replaced
Parameters.Location with the exact Location of related Parameter.
(I wanted to solve this matter before improving my precise location
patch which I created once upon a time.)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mono-devel-list