You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code fix for CC0014 TernaryOperatorAnalyzer is not compatible with comments in VB code.
Example:
Original code:
If stackFrameItem.GetMethod.DeclaringType Is Nothing Then
declaringType = "" 'MLHIDE
Else
declaringType = stackFrameItem.GetMethod.DeclaringType.ToString
End If
Fixed code:
declaringType = If(stackFrameItem.GetMethod.DeclaringType Is Nothing, "", stackFrameItem.GetMethod.DeclaringType.ToString)