[Mono-devel-list] [Fwd: [Mono-patches] r39389 - in trunk/mcs/class/Npgsql: . Npgsql NpgsqlTypes]

Francisco Figueiredo Jr. fxjrlists at yahoo.com.br
Mon Jan 24 15:32:27 EST 2005


Rafael Teixeira wrote:
> Hi Francisco,
> 

Hi Rafael!!

> It's more troublesome, we have this:
> 

Hmmmmmm,

> $ grep Design *.cs
> 
> NpgsqlCommand.cs:using Npgsql.Design;
> NpgsqlCommand.cs:        [Category("Data"),
> DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
> NpgsqlCommand.cs:        [Browsable(false),
> DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
> NpgsqlConnection.cs:using Npgsql.Design;
> NpgsqlConnection.cs:        [Editor(typeof(ConnectionStringEditor),
> typeof(System.Drawing.Design.UITypeEditor))]
> NpgsqlParameterCollection.cs:using Npgsql.Design;
> NpgsqlParameterCollection.cs:   
> [Editor(typeof(NpgsqlParametersEditor),
> typeof(System.Drawing.Design.UITypeEditor))]
> NpgsqlParameterCollection.cs:        [Browsable(false),
> DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
> NpgsqlParameterCollection.cs:        [Browsable(false),
> DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
> NpgsqlParameterCollection.cs:        [Browsable(false),
> DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
> NpgsqlParameter.cs:using Npgsql.Design;
> NpgsqlParameter.cs:       
> [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false),
> DefaultValue(false), DesignOnly(true)]
> 

Yeap, I added the conditional compilation in all these files...

> Can I change it to conditionally compile on a specific define that
> would have to be passed in the .build file, but not in the makefile
> used by mono?
> 

Hmmm, I think this is possible too.
> I'll try it and send you the patches for your approval, my dear Chicão.
> 

Thanks Rafael!!
This would be very much welcome!

Regards,

Francisco Figueiredo Jr.




More information about the Mono-devel-list mailing list