示例#1
0
        private FunctionAnalysis1stPass.NodeIndices GetParentNodeIndices()
        {
            var count  = NodeIndexStack.Count;
            var buffer = ImmutableArrayPool <int> .Allocate(count);

            NodeIndexStack.CopyTo(buffer.Array, buffer.Offset);
            return(new FunctionAnalysis1stPass.NodeIndices(buffer));
        }
示例#2
0
 private int[] GetParentNodeIndices()
 {
     return(NodeIndexStack.ToArray());
 }