Andrew Boklashko
Andrew Boklashko
@baluchicken thanks, I will try the provided workaround.
Currently working on this feature.
Well seems like ConvertIfStatementToConditionalTernaryExpressionCodeRefactoringProvider generates explicit cast expression if target and ternary operator types are not equal and does not check if impilicit conversion exists. Should be considered as bug.
This duplicates #289.
Current implementation ignore public, protected, abstract and override methods as well as constructors and expicit interface implementations. As for me it doesn't have a sense, maybe except abstract modifier, but...
I gave it some thoughts and ended up that the best solution would be to add additional parameter `string contentType = null` to alternate views API, exactly like in `AttachFromFilename`:...
Any updates?
Any updates?