public object this[int from, int to]
{
- set { set_range (from, to, value); }
+ set {
+ MCharRange.CheckChar (from);
+ MCharRange.CheckChar (to);
+ set_range (from, to, value);
+ }
}
private void set_range (int from, int to, object value)
MCharTable table;
private MCharRange range;
- public MCharTableEnum (MCharTable table)
- {
- this.table = table;
- }
-
- public void Dispose () {}
+ public MCharTableEnum (MCharTable table) {
+ this.table = table;
+ }
public bool MoveNext ()
{
return range.Next ();
}
- public void Reset ()
- {
- range = null;
- }
+ public void Reset () { range = null; }
- public MCharRange Current
- {
- get { return range; }
- }
+ public MCharRange Current { get { return range; } }
- object IEnumerator.Current
- {
- get { return Current; }
- }
+ object IEnumerator.Current { get { return Current; } }
+
+ public void Dispose () {}
}
}
}