[Mono-devel-list] Mono.Xml.MiniParser

Matthijs ter Woord (meddochat) meddochat at zonnet.nl
Sat Jun 11 04:31:07 EDT 2005


Hi Atsushi,

I get your point. MiniParser isn't CLS Compliant.

[Error] E2421 Imported identifier 'Names' conflicts with 'names' in
'MiniParser.AttrListImpl'
[Error] E2421 Imported identifier 'Values' conflicts with 'values' in
'MiniParser.AttrListImpl'
[Error] E2421 Imported identifier 'Line' conflicts with 'line' in
'MiniParser.XMLError'
[Error] E2421 Imported identifier 'Column' conflicts with 'column' in
'MiniParser.XMLError'


But shouldn't AttrListImpl and XMLError be marked with [CLSCompliant(false)]
then too?

Greets,

Matthijs

> I have never tried to use Delphi.NET but it is really weird if it
> really tries to validate(?) non-CLSCompliant types while it should
> not (MiniParser is not CLS compliant) and rejects them because
> of that.
>
> It sounds like a bug in Delphi.NET.
>
> Atsushi Eno
>
>
> Matthijs ter Woord (meddochat) wrote:
> > Hi everybody,
> >
> > For the Indy project we use the SSL/TLS implementation of
Mono.Security.dll.
> > You guys did a great job with that.
> >
> > But we have a problem. We're trying to build the project without
compiler
> > hints/warning but when linking to the Mono.Security.dll assembly, the
delphi
> > compiler can't cope with members with case-insensitive duplicate names:
> >
> > [Error] E2421 Imported identifier 'Names' conflicts with 'names' in
> > 'MiniParser.AttrListImpl'
> > [Error] E2421 Imported identifier 'Values' conflicts with 'values' in
> > 'MiniParser.AttrListImpl'
> > [Error] E2421 Imported identifier 'Line' conflicts with 'line' in
> > 'MiniParser.XMLError'
> > [Error] E2421 Imported identifier 'Column' conflicts with 'column' in
> > 'MiniParser.XMLError'
> >
> >
> > Is this the coding style used in the class libraries? or could this be
> > changed?
> >
> >
> >
> > Greets,
> >
> > Matthijs ter Woord
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>





More information about the Mono-devel-list mailing list