6 writes to type
System.Web (6)
UI\WebControls\Unit.cs (6)
45this.type = UnitType.Pixel; 60this.type = UnitType.Pixel; 79this.type = type; 102this.type = (UnitType)0; 125type = (UnitType)GetTypeFromString(trimLcase.Substring(lastDigit+1).Trim()); 128type = defaultType;
13 references to type
System.Web (13)
UI\WebControls\Unit.cs (13)
137if (type == UnitType.Pixel) { 142throw new FormatException(SR.GetString(SR.UnitParseNumericPart, value, numericPart, type.ToString("G"))); 156return type == (UnitType)0; 167return this.type; 190return HashCodeCombiner.CombineHashCodes(type.GetHashCode(), value.GetHashCode()); 205if (u.type == type && u.value == value) { 220return (left.type == right.type && left.value == right.value); 232return (left.type != right.type || left.value != right.value); 366if (type == UnitType.Pixel) { 373return valuePart + Unit.GetStringFromType(type);