[Mono-list] error building mono from HEAD on a Debian sid system

Jonathan Pryor jonpryor at vt.edu
Thu Nov 23 14:53:47 EST 2006

On Thu, 2006-11-23 at 15:03 +0000, Alan McGovern wrote:
> Partial is a keyword introduced in .NET 2.0 so you could span classes
> over multiple .cs files (you declare each .cs file as a "partial
> class"). So it's a bad idea for it to be used as a variable name. File
> a bug report i suppose. 

`partial' is a "conditional keyword" (can't think of a better name),
rather like `get', `set', `value', `add', and `remove' in C# 1.1.  That
is, it's a keyword in *some* contexts, but not all contexts.
Consequently, it *can* be used as a variable name, and mcs should permit
it.  If mcs/gmcs do not, that's a compiler bug.

 - Jon

More information about the Mono-list mailing list