' Visual Basic .NET Document Option Strict On ' Public Interface INumber Function Length As Integer Function GetUnsigned As ULong End Interface ' Attempting to compile the example displays output like the following: ' Interface2.vb(9) : warning BC40033: Non CLS-compliant 'function' is not allowed in a ' CLS-compliant interface. ' ' Function GetUnsigned As ULong ' ~~~~~~~~~~~ ' Module Example Public Sub Main() End Sub End Module