Beispiel #1
0
        public SyntaxNode MarkNode(SyntaxNode node, out int xsId)
        {
            string strId = GetExcessStringId(node);

            if (strId != null)
            {
                xsId = int.Parse(strId);
                return(node);
            }

            strId = RoslynCompiler.uniqueId();
            xsId  = int.Parse(strId);
            return(RoslynCompiler.MarkNode(node, strId));
        }
Beispiel #2
0
 public SyntaxNode MarkNode(SyntaxNode node)
 {
     return(RoslynCompiler.MarkNode(node, RoslynCompiler.uniqueId())); //td: scope ids
 }