[Mono-devel-list] Mono.Xml.MiniParser

Jonathan Pryor jonpryor at vt.edu
Sat May 28 17:59:17 EDT 2005

On Sat, 2005-05-28 at 09:28 +0200, Matthijs ter Woord (meddochat) wrote:
> Is this the coding style used in the class libraries? or could this be
> changed?

This coding style (having two members that differ only in case) is
somewhat common in the class libraries.  The primary difference is that
typically it's a private+public relationship, while MiniParser has a
protected+public relationship, which is probably the issue here (since a
compiler shouldn't care about the naming of private variables).

Having protected+public members differing only in case shouldn't occur
in the System.* classes, since those are defined by Microsoft and Visual
Basic.NET is case-insensitive, but anything outside of System.* might
have similar problems.  I imagine they should be fixed, but I don't
know how practical it is to change a public (shipping) interface.

 - Jon

More information about the Mono-devel-list mailing list