Hello,
Using the convert function, if the C# source file contains codes like this, it will always fail:
foreach ((XmlNode node, int matchCount) in from XmlNode node in chapter_elements
let matchCount = Regex.Matches(node.InnerXml, patternTemplate).Count
select (node, matchCount))
{
if (matchCount > 5)
{
chapter_with_more_than_5_paragraphs_count++;
}
}
If I changed the codes to using foreach, the convert function working properly.
Regards,
Xiaoguang