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