#else
// CAS
[AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
- [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
#endif
public struct Unit {
UnitType type;
i++;
if (!Char.IsDigit (value [i]))
throw new ArgumentOutOfRangeException ("value");
+ } else if (!Char.IsDigit (value [i])) {
+ throw new FormatException ();
}
double dv = 0;