J
Jimi
How come a UInt32 parameter is CLS-compliant in VB, but not in C# ??
e.g.,
Public Sub TestCLS(ByRef x As UInt32)
is CLS-compliant (compiler doesn't complain when the CLSCompliant
attribute is set)
vs.
public void TestCLS(ref UInt32)
is not CLS-compliant (compiler complains when the CLSCompliant
attribute is set)
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
e.g.,
Public Sub TestCLS(ByRef x As UInt32)
is CLS-compliant (compiler doesn't complain when the CLSCompliant
attribute is set)
vs.
public void TestCLS(ref UInt32)
is not CLS-compliant (compiler complains when the CLSCompliant
attribute is set)
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*