We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

CLS-compliant Problem

Hi,

I have codes below:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Syncfusion.Windows.Forms.Tools;

[assembly: CLSCompliant(true)]

namespace testing
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

public Button MyButton
{
get
{
return button1;
}
}

public TabControlAdv MyTab
{
get
{
return tabControlAdv1;
}
}
}
}

When I build the code, a warning message appears:
Warning 1 Type of 'testing.Form1.MyTab' is not CLS-compliant Form1.cs 29 30 testing

If the user control class cannot pass, then the button should be appearing the same warning too, but now it is not. Can I know what the reason is behind and how to solve it?
Thanks


My Message.zip

1 Reply

RA Ramu Syncfusion Team September 10, 2007 06:18 PM UTC

Hi Lim,

This is known issue, please create a direct-trac incident with the forum link has your title and will update you with more information.

Thank you for your interest in Syncfusion products.

Regards,
Ramu

Loader.
Live Chat Icon For mobile
Up arrow icon