public BreakOn(BreakOnKind kind, uint count) {
            if (kind != BreakOnKind.Always && count < 1) {
                throw new ArgumentException("Invalid BreakOn count");
            }

            Kind = kind;
            Count = count;
        }
Exemple #2
0
        public BreakOn(BreakOnKind kind, uint count)
        {
            if (kind != BreakOnKind.Always && count < 1)
            {
                throw new ArgumentException("Invalid BreakOn count");
            }

            this.Kind  = kind;
            this.Count = count;
        }