1 reference to TryConvert
Microsoft.CodeAnalysis.Features (1)
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (1)
300
var containerWithConditionalReplaced = container.ReplaceNode(conditionalExpression,
TryConvert
(expression, conditionalType).WithTriviaFrom(conditionalExpression));