/// <summary>
        /// Initializes a new instance of the <see cref="CodeFlowVersionOne" /> class from the specified instance.
        /// </summary>
        /// <param name="other">
        /// The instance from which the new instance is to be initialized.
        /// </param>
        /// <exception cref="ArgumentNullException">
        /// Thrown if <paramref name="other" /> is null.
        /// </exception>
        public CodeFlowVersionOne(CodeFlowVersionOne other)
        {
            if (other == null)
            {
                throw new ArgumentNullException(nameof(other));
            }

            Init(other.Message, other.Locations, other.Properties);
        }
        public virtual CodeFlowVersionOne VisitCodeFlowVersionOne(CodeFlowVersionOne node)
        {
            if (node != null)
            {
                if (node.Locations != null)
                {
                    for (int index_0 = 0; index_0 < node.Locations.Count; ++index_0)
                    {
                        node.Locations[index_0] = VisitNullChecked(node.Locations[index_0]);
                    }
                }
            }

            return(node);
        }
 public bool ValueEquals(CodeFlowVersionOne other) => ValueComparer.Equals(this, other);