public static bool?GetIsOrderedConstraintValue(this IClass scope)
        {
            var isOrdered = scope.GetAttributeConstraintValue(TypedElementIsOrderedAttribute);

            if (isOrdered != null && isOrdered.Count == 1)
            {
                return(bool.Parse(isOrdered.First()));
            }
            else
            {
                return(null);
            }
        }
        public static int?GetLowerBoundConstraintValue(this IClass scope)
        {
            var lowerBound = scope.GetAttributeConstraintValue(TypedElementLoweroundAttribute);

            if (lowerBound != null && lowerBound.Count == 1)
            {
                return(int.Parse(lowerBound.First(), CultureInfo.InvariantCulture));
            }
            else
            {
                return(null);
            }
        }