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