[Mono-list] dash in file name - won't compile

Peter Williams peter@newton.cx
Wed, 19 May 2004 23:41:40 -0400


On Wed, 2004-05-19 at 22:20, Fred Blaise wrote:
> If I however rename the class and file to not have the '-', it works:

The class name is the issue. You'll note that the MCS error is pointing
you at line 6 of your file -- this is probably something like:

	class gget-sharp {

Anyway, dashes are not legal in identifiers in C# (same rules as in C
apply, more or less.)

Peter

-- 
Peter Williams                          peter@newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power