18 references to GregorianCalendarTypes
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
263[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.GregorianCalendarTypes))]
netstandard (1)
netstandard.cs (1)
833[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.GregorianCalendarTypes))]
PresentationFramework (1)
System\Windows\Controls\DateTimeHelper.cs (1)
144if (((GregorianCalendar)cal).CalendarType == GregorianCalendarTypes.Localized)
System.Globalization.Calendars (1)
System.Globalization.Calendars.cs (1)
7[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.GregorianCalendarTypes))]
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (1)
801CalendarId.GREGORIAN_US or CalendarId.GREGORIAN_ME_FRENCH or CalendarId.GREGORIAN_ARABIC or CalendarId.GREGORIAN_XLIT_ENGLISH or CalendarId.GREGORIAN_XLIT_FRENCH => new GregorianCalendar((GregorianCalendarTypes)calType),
src\libraries\System.Private.CoreLib\src\System\Globalization\GregorianCalendar.cs (12)
23private GregorianCalendarTypes _type; 43public GregorianCalendar() : this(GregorianCalendarTypes.Localized) 47public GregorianCalendar(GregorianCalendarTypes type) 49if (type < GregorianCalendarTypes.Localized || type > GregorianCalendarTypes.TransliteratedFrench) 54SR.Format(SR.ArgumentOutOfRange_Range, GregorianCalendarTypes.Localized, GregorianCalendarTypes.TransliteratedFrench)); 60public virtual GregorianCalendarTypes CalendarType 66if (value < GregorianCalendarTypes.Localized || value > GregorianCalendarTypes.TransliteratedFrench) 71SR.Format(SR.ArgumentOutOfRange_Range, GregorianCalendarTypes.Localized, GregorianCalendarTypes.TransliteratedFrench));
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net11.0\System.Runtime.Forwards.cs (1)
235[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.GregorianCalendarTypes))]