8 writes to SelectionEnd
System.Windows.Forms.Tests (8)
System\Windows\Forms\MonthCalendarTests.cs (8)
2041
SelectionEnd
= value
2048
calendar.
SelectionEnd
= value;
2067
calendar.
SelectionEnd
= value;
2076
calendar.
SelectionEnd
= value;
2089
Assert.Throws<ArgumentOutOfRangeException>("value", () => calendar.
SelectionEnd
= calendar.MinDate.AddTicks(-1));
2092
Assert.Throws<ArgumentOutOfRangeException>("value", () => calendar.
SelectionEnd
= calendar.MinDate.AddTicks(-1));
2099
Assert.Throws<ArgumentOutOfRangeException>("value", () => calendar.
SelectionEnd
= calendar.MaxDate.AddTicks(1));
2102
Assert.Throws<ArgumentOutOfRangeException>("value", () => calendar.
SelectionEnd
= calendar.MaxDate.AddTicks(1));
43 references to SelectionEnd
System.Windows.Forms (1)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
712
get => new(SelectionStart,
SelectionEnd
);
System.Windows.Forms.Tests (42)
System\Windows\Forms\MonthCalendarTests.cs (42)
114
Assert.Equal(DateTime.Now.Date, control.
SelectionEnd
);
1328
Assert.Equal(expectedSelection, calendar.
SelectionEnd
);
1335
Assert.Equal(expectedSelection, calendar.
SelectionEnd
);
1355
Assert.Equal(expectedSelection, calendar.
SelectionEnd
);
1365
Assert.Equal(expectedSelection, calendar.
SelectionEnd
);
1461
Assert.Equal(expectedSelection, calendar.
SelectionEnd
);
1468
Assert.Equal(expectedSelection, calendar.
SelectionEnd
);
1488
Assert.Equal(expectedSelection, calendar.
SelectionEnd
);
1498
Assert.Equal(expectedSelection, calendar.
SelectionEnd
);
1962
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
1968
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
1987
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
1996
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
2043
Assert.Equal(value, calendar.
SelectionEnd
);
2049
Assert.Equal(value, calendar.
SelectionEnd
);
2068
Assert.Equal(value, calendar.
SelectionEnd
);
2077
Assert.Equal(value, calendar.
SelectionEnd
);
2143
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
2152
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
2174
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
2186
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
2200
Assert.Equal(calendar.MinDate, calendar.
SelectionEnd
);
2204
Assert.Equal(calendar.MinDate, calendar.
SelectionEnd
);
2217
Assert.Equal(calendar.MaxDate.AddTicks(1).Date, calendar.
SelectionEnd
);
2221
Assert.Equal(calendar.MaxDate.AddTicks(1).Date, calendar.
SelectionEnd
);
3971
Assert.Equal(date, calendar.
SelectionEnd
);
3979
Assert.Equal(date, calendar.
SelectionEnd
);
4000
Assert.Equal(date, calendar.
SelectionEnd
);
4011
Assert.Equal(date, calendar.
SelectionEnd
);
4024
Assert.Equal(calendar.MinDate.AddTicks(-1), calendar.
SelectionEnd
);
4036
Assert.Equal(calendar.MaxDate.AddTicks(1), calendar.
SelectionEnd
);
4078
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
4086
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
4107
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
4118
Assert.Equal(expectedSelectionEnd, calendar.
SelectionEnd
);
4131
Assert.Equal(calendar.MinDate, calendar.
SelectionEnd
);
4135
Assert.Equal(calendar.MinDate, calendar.
SelectionEnd
);
4148
Assert.Equal(calendar.MaxDate.AddTicks(1), calendar.
SelectionEnd
);
4152
Assert.Equal(calendar.MaxDate.AddTicks(1), calendar.
SelectionEnd
);
4391
monthCalendar.
SelectionEnd
.Should().Be(endDate);
4439
monthCalendar.
SelectionEnd
.Should().Be(expectedEnd);
4640
cal => (cal.SelectionStart, cal.
SelectionEnd
),