Are duplicate name declarations in a select case legal?

Code:
Select Case Msg
    Case "Yes"
        Dim sAnswer As String = "Yes"
    Case "No"
        Dim sAnswer As String = "No"
End Select
Reason I ask is because I notice if I do this, the IDE wont automatically format the name of the declaration , like so...

Code:
Select Case Msg
    Case "Yes"
        Dim sAnswer As String = "Yes"
        MsgBox(sanswer)
    Case "No"
        Dim sAnswer As String = "No"
        MsgBox(sanswer)
End Select

The IDE wont auto-Capitalise sanswer if I have more than 1 instance in the routine.. Just wondering..