4 writes to wHour
System.Windows.Forms (1)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1311
wHour
= mchi.st.wHour,
System.Windows.Forms.Primitives (1)
Windows.Win32.SYSTEMTIME.g.cs (1)
97
wHour
= (ushort)time.Hour,
System.Windows.Forms.Primitives.Tests (2)
Interop\Kernel32\SYSTEMTIMETests.cs (2)
40
wHour
= 6,
66
wHour
= 99,
12 references to wHour
System.Windows.Forms (1)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1311
wHour = mchi.st.
wHour
,
System.Windows.Forms.Primitives (4)
Windows.Win32.SYSTEMTIME.g.cs (4)
55
public bool Equals(SYSTEMTIME other) => this.wYear == other.wYear && this.wMonth == other.wMonth && this.wDayOfWeek == other.wDayOfWeek && this.wDay == other.wDay && this.
wHour
== other.
wHour
&& this.wMinute == other.wMinute && this.wSecond == other.wSecond && this.wMilliseconds == other.wMilliseconds;
59
public override int GetHashCode() => (this.wYear, this.wMonth, this.wDayOfWeek, this.wDay, this.
wHour
, this.wMinute, this.wSecond, this.wMilliseconds).GetHashCode();
75
return new global::System.DateTime(sysTime.wYear, sysTime.wMonth, sysTime.wDay, sysTime.
wHour
, sysTime.wMinute, sysTime.wSecond, sysTime.wMilliseconds);
System.Windows.Forms.Primitives.Tests (2)
Interop\Kernel32\SYSTEMTIMETests.cs (2)
26
Assert.Equal(0, st.
wHour
);
52
Assert.Equal(st.
wHour
, dt.Hour);
System.Windows.Forms.Tests (5)
System\Windows\Forms\MonthCalendarTests.cs (5)
1036
Assert.True(range[0].
wHour
>= 0);
1044
Assert.True(range[1].
wHour
>= 0);
1075
Assert.Equal(0, date.
wHour
);
1179
Assert.Equal(3, range[0].
wHour
);
1187
Assert.Equal(4, range[1].
wHour
);