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