Hi,
I am using "Telerik UI controls for WPF" (v2012.2.725.40).
I am writing code in my assemblies which have their assembly attribute "System.CLSCompliant" set to True. Those assemblies can be redistributed to other teams using other programming languages (I used C#).
I wanted to expose some public members with return values and/or parameters such as 'RadDocument' or 'Telerik.Windows.Controls.DocumentViewManager'.
There was a compile warning which in my case was transform as error (because we use "treat warning as error" in our projects).
I have got 2 choices (if you know other ways, please let me know):
1) Look at the inheritance (implementation or interface) and try to find a CLS-compliant type. If not, then use 'object' for the return type or paramter.
2) I can set the attribute "System.CLSCompliant" to false at the method or property which raised the warning, but then I am preventing the users of my assemblies to have access to those methods.
# What is the main reason why Telerik assemblies for WPF (I do not know about the other products) are not compiled with "System.CLSCompliant(True)"?
# Is there a plan to mark your Telerik assemblies for WPF with the CLS-compliant?
I had a look and search on the web for this issue, but could not find a good answer.
Thank you,
Joao