I have the following code and I get the above warning
In another project i have something similar but I dont get the warning and cannot see the difference
Any ideas how to remove it
Namespace TSInterfaces Public Interface IEmployee(Of T) Function GetEmployee(ByVal EmployeeID As Integer) As TSStructures.StructEmployee Function GetAllEmployees() As MyCollectionBindingList(Of T) End Interface End Namespace
'When i go to implement the interface I get "
end class |
thanks a lot for any feedback

Return Type of function is not CLS Compliant .How can Fix this?
Adrian Nicolaescu
This article gives details about this compiler warning and how to fix it: http://msdn2.microsoft.com/en-us/library/x97t56y6.
Did you mark EmployeeDao as CLSCompliant by any chances
Regards,
Spatulaman
I did not mark for compliance at all.
Its strange I have a project with exact the same and it doenst raise the warning.
Thanks again
I will have a better look