public static bool ConvertStringToCharLiteral(Microsoft.CodeAnalysis.VisualBasic.Syntax.LiteralExpressionSyntax node, ITypeSymbol convertedType,
                                                      out char chr)
        {
            if (convertedType?.SpecialType == SpecialType.System_Char &&
                node?.Token.Value is string str &&
                str.Length == 1)
            {
                chr = str.Single();
                return(true);
            }

            chr = default;
            return(false);
        }
 private static bool IsEmptyString(VBSyntax.LiteralExpressionSyntax les)
 {
     return(les.IsKind(VBSyntaxKind.StringLiteralExpression) && string.IsNullOrEmpty(les.Token.ValueText));
 }