-
Notifications
You must be signed in to change notification settings - Fork 224
Closed
Labels
VB -> C#Specific to VB -> C# conversionSpecific to VB -> C# conversion
Description
Input code
Public ReadOnly Property FullName(ByVal lastNameFirst As Boolean) As String
Get
If lastNameFirst Then
Return LastName & " " & FirstName
Else
Return FirstName & " " & LastName
End If
End Get
End Property
Erroneous output
public string FullName
{
get
{
if (lastNameFirst)
return LastName + " " + FirstName;
else
return FirstName + " " + LastName;
}
}
Expected output
public string FullName(bool lastNameFirst)
{
if (lastNameFirst)
return LastName + " " + FirstName;
else
return FirstName + " " + LastName;
}
Details
Product in use: VS extension
Version in use: 6.1.0.0
Metadata
Metadata
Assignees
Labels
VB -> C#Specific to VB -> C# conversionSpecific to VB -> C# conversion