[Mono-devel-list] Type of '...' is not CLS-compliant

Gonzalo Paniagua Javier gonzalo at ximian.com
Sat Apr 10 10:52:46 EDT 2004

El sáb, 10-04-2004 a las 16:38, Carlos Guzmán Álvarez escribió:
> Hello:
> Thanks for answer
> > You need to make sure all the types you use are maked [CLSCompliant].
> They are delegates and as i have told in my previous email, all the 
> sources build fine in Windows using .NET 1.0 and 1.1 ( This includes the 
> SSL/TLS implementation ;) )
> The only different is that in Windows with .NET the Mono.Security 
> assembly is being built usina an AssemblyInfo.cs file with the 
> CLSCompliant attribute defined (maybe an AssemblyInfo file is going to 
> be needed for the Mono.Security assembly)

Mmm, not sure, but may be you can wrap those delegates into others that
are CLS compliant so that you don't expose the non CLS compliant ones.

You would need a new delegate for each of those and a helper class. See
System.Web/System.Web/NoParamsInvoker.cs for an example.


More information about the Mono-devel-list mailing list