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
{{ message }}
Repository navigation
'Simplify interpolation' fix should not remove parens around a conditional expressionΒ #49647
(How soon is too soon to start reporting bugs assuming top level statements are turned on for new tests by default so I can exclude class C etc?)
classC{voidM(boolcond){// βΉ IDE0071 Interpolation can be simplified// β_=$"{(cond?1:2).ToString()}";}}
π‘ Simplify interpolation:
classC{voidM(boolcond){// β CS8361 A conditional expression cannot be used directly in a string interpolation because the ':' ends the// interpolation. Parenthesize the conditional expression.// βββββββββ_=$"{cond?1:2}";}}
Activity