Please see following examples:
Visual BasicPublic Class Class1
Public Shared Function WithIf1(text As String) As Integer
'CRR0027
Return If(text Is Nothing, 0, text.Length)
End Function
Public Shared Function WithIf2(text As String) As Integer
'CRR0027
Return If(text IsNot Nothing, text.Length, 0)
End Function
End Class
Robert,
I have reproduced this issue locally, please give us some time to fix it.