Beispiel #1
0
        void UpdateChildrenArray()
        {
            lock (children)
            {
                children.Clear();

                if (additionalChildren.Count != 0)
                {
                    children.AddRange(additionalChildren);
                }

                if (_In != null)
                {
                    children.AddRange(_In.Declarations);
                }

                if (_Body != null)
                {
                    children.AddRange(_Body.Declarations);
                }

                if (_Out != null)
                {
                    children.AddRange(_Out.Declarations);
                }
            }
        }
Beispiel #2
0
 public void Clear()
 {
     _Children.Clear();
 }