[Mono-dev] System.Web: Remove restiction for inherits attribute

Konstantin Triger kostat at mainsoft.com
Tue Feb 20 05:35:57 EST 2007


Currently Global.asax 'inherits' attribute is checked for CodeGenerator.IsValidLanguageIndependentIdentifier. So in case the file is inside a namespace, the code should wrongly throw.

Currently it does not throw because
Console.WriteLine (CodeCompiler.IsValidLanguageIndependentIdentifier ("A.B"));
Returns True on mono, but this is another bug...

Please review the attached patch fixing this in Sys.Web.

Konstantin Triger

-------------- next part --------------
A non-text attachment was scrubbed...
Name: noIsValidLanguageIndependentIdentifier.patch
Type: application/octet-stream
Size: 711 bytes
Desc: noIsValidLanguageIndependentIdentifier.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070220/140ae317/attachment.obj 

More information about the Mono-devel-list mailing list