[Mono-dev] PageThemeFileParser.AddDirective

Andrew Skiba andrews at mainsoft.com
Tue Apr 11 11:31:08 EDT 2006


> 
> I disagree that it is more appropriate - it's case sensitive.
> 

I checked, and found that you are right and directives are case
insensitive. FYI TemplateControlParser uses case-sensitive comparison
everywhere.

But anyway OrdinalComparison is more appropriate in this patch (with
ignore case), you can look here for an example of unexpected results:

ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/M_Syste
m_String_Compare_2_16e9e883.htm 

So please review the fixed patch.

Regards,
Andrew.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PageThemeFileParser.patch
Type: application/octet-stream
Size: 715 bytes
Desc: PageThemeFileParser.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060411/b11e2bec/attachment.obj 


More information about the Mono-devel-list mailing list