10 references to Default
System.Windows.Forms (6)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (4)
80private const Day DefaultFirstDayOfWeek = Day.Default; 380if (value is < Day.Monday or > Day.Default) 393if (value == Day.Default) 1380if (_firstDayOfWeek == Day.Default)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (2)
123Day.Default => DayOfWeek.Sunday, 201internal DayOfWeek FirstDayOfWeek => this.TryGetOwnerAs(out MonthCalendar? owner) ? CastDayToDayOfWeek(owner.FirstDayOfWeek) : CastDayToDayOfWeek(Day.Default);
System.Windows.Forms.Tests (4)
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarAccessibleObjectTests.cs (1)
161yield return new object[] { Day.Default, DayOfWeek.Sunday };
System\Windows\Forms\MonthCalendarTests.cs (3)
79Assert.Equal(Day.Default, control.FirstDayOfWeek); 873[InlineData(Day.Default, 1)] 1139FirstDayOfWeek = Day.Default