Example #1
0
        public override bool Equals(object value)
        {
            var choice = value as Asn1Choice;

            if (choice == null)
            {
                return(false);
            }

            if (_choiceId != choice._choiceId)
            {
                return(false);
            }

            return(Element.Equals(choice.Element));
        }