[MonoDevelop] Stetic bug??

Fredrik Nilsson jymdman at gmail.com
Wed Aug 9 14:51:23 EDT 2006


No problem, number 79043 and 79044.

Thanks!

Fredrik.

Lluis Sanchez skrev:
> Could you please file bug reports for those in bugzilla.ximian.com?
> Thanks!
>
> Lluis.
>
> El dc 09 de 08 del 2006 a les 19:20 +0200, en/na Fredrik Nilsson va
> escriure:
>   
>> Hi,
>>
>> I am implementing a simple DateTimePicker for a project I code.
>> I created a new widget in MD so I can use it in different places in my 
>> project.
>> The problem is that when implementing a getter/setter function Stetic 
>> complains.
>> The function look like this:
>>
>> public DateTime Date {
>> get {
>>     return datetime;
>> }
>>
>> set {
>>     datetime = value;
>> }
>> }
>>
>> The build output look like this:
>>
>> Building Project: Order Configuration: Debug
>> Generating stetic code...
>>
>> Build failed. Invalid Primitive Type: System.DateTime. Only CLS 
>> compliant primitive types can be used. Consider using 
>> CodeObjectCreateExpression.
>>
>>
>> If I remove the setter function everything works ok.
>> Is this a Stetic bug, or do I have to work around it with a normal 
>> function like  Date (DateTime date) ??
>>
>>
>> Oh, and another thing I noticed.
>> I want to use a button with an arrow inside, I put a button on my form 
>> and set the Button Type to Custom, and then I add a arrow to the button. 
>> But after I do a compile the arrow disappears. Known problem??
>>
>>
>> /Fredrik
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>     
>
>
>   



More information about the Monodevelop-list mailing list