Closed DavidKarlas closed 9 years ago
It's interesting that Roslyn already processed preview and underlined wrong code.
propVar.Value is object type and error is: "CS0019 Operator '??' cannot be applied to operands of type 'T' and 'T'"
Yep, ConvertConditionalTernaryToNullCoalescingIssue doesn't check whether T supports null.
T
null
It's interesting that Roslyn already processed preview and underlined wrong code.
propVar.Value is object type and error is: "CS0019 Operator '??' cannot be applied to operands of type 'T' and 'T'"