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


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to