title: Why does this function not return a value on all code paths?
body: <p>Consider:</p>
  
  <pre><code>Private Function ViewPropertyCast(ByVal type As String) As String
    Select Case type
      Case "smallint"
        Return "Short"
      Case "nvarchar"
        Return "String"
      Case "int"
        Return "Integer"
      Case "float"
        Return "Double"
      Case "datetime"
        Return "Date"
      Case "bigint"
        Return "Long"
      Case "ntext"
        Return "String"
      Case "bit"
        Return "Boolean"
      Case "uniqueidentifier"
        Return "Guid"
    End Select
  End Function
  </code></pre>
  
  <p>Why does <code>ViewPropertyCast</code> not return a value on all code paths?</p>