Adding the missing string function to model.xml (#6694)
authorJonathan Miller <jonmill@microsoft.com>
Mon, 22 Aug 2016 23:17:09 +0000 (16:17 -0700)
committerWes Haggard <weshaggard@users.noreply.github.com>
Mon, 22 Aug 2016 23:17:09 +0000 (16:17 -0700)
* Adding + stubbing out the missing Globalization functions
* Doing the correct native implementation now...

26 files changed:
src/mscorlib/corefx/System/Globalization/Calendar.cs
src/mscorlib/corefx/System/Globalization/CultureNotFoundException.cs
src/mscorlib/corefx/System/Globalization/DateTimeFormatInfo.cs
src/mscorlib/corefx/System/Globalization/DayLightTime.cs
src/mscorlib/corefx/System/Globalization/HebrewCalendar.cs
src/mscorlib/corefx/System/Globalization/NumberFormatInfo.cs
src/mscorlib/corefx/System/Globalization/RegionInfo.cs
src/mscorlib/corefx/System/Globalization/STUBS.cs [new file with mode: 0644]
src/mscorlib/corefx/System/Globalization/StringInfo.cs
src/mscorlib/corefx/System/Globalization/UmAlQuraCalendar.cs
src/mscorlib/model.xml
src/mscorlib/mscorlib.shared.sources.props
src/mscorlib/ref/mscorlib.cs
src/mscorlib/ref/mscorlib.manual.cs
src/mscorlib/src/System/Globalization/CompareInfo.cs
src/mscorlib/src/System/Globalization/CultureInfo.cs
src/mscorlib/src/System/Globalization/CultureNotFoundException.cs
src/mscorlib/src/System/Globalization/DateTimeFormatInfo.cs
src/mscorlib/src/System/Globalization/IdnMapping.cs
src/mscorlib/src/System/Globalization/NumberFormatInfo.cs
src/mscorlib/src/System/Globalization/RegionInfo.cs
src/mscorlib/src/System/Globalization/STUBS.cs [new file with mode: 0644]
src/mscorlib/src/System/Globalization/SortKey.cs
src/mscorlib/src/System/Globalization/TextInfo.cs
src/mscorlib/src/System/Text/Normalization.cs
src/vm/ecalllist.h

index 95e5889fcea991a3aa285c7e9985487d5fb8ced3..77120cb0a6e19f202558d8e9a8675ec1611f648d 100644 (file)
@@ -32,7 +32,7 @@ namespace System.Globalization
 
     [Serializable]
     [System.Runtime.InteropServices.ComVisible(true)]
-    public abstract class Calendar : ICloneable
+    public abstract partial class Calendar : ICloneable
     {
         // Number of 100ns (10E-7 second) ticks per time unit
         internal const long TicksPerMillisecond = 10000;
index bd59efb6ea99527951f19519ac8eaade1335013a..df0f073db6f8db2519afd473a5c99f0aa014f27b 100644 (file)
@@ -14,7 +14,7 @@ namespace System.Globalization
 {
     [Serializable]
     [System.Runtime.InteropServices.ComVisible(true)]
-    public class CultureNotFoundException : ArgumentException, ISerializable
+    public partial class CultureNotFoundException : ArgumentException, ISerializable
     {
         private string m_invalidCultureName; // unrecognized culture name
 
index d50ca0cb824d0bda4c024dbac4e27846f7e78ff7..89570ee1c77d38297336e41a83b3b99ccd1d030c 100644 (file)
@@ -56,7 +56,7 @@ namespace System.Globalization
 
     [Serializable]
     [System.Runtime.InteropServices.ComVisible(true)]
-    public sealed class DateTimeFormatInfo : IFormatProvider, ICloneable
+    public sealed partial class DateTimeFormatInfo : IFormatProvider, ICloneable
     {
         // cache for the invariant culture.
         // invariantInfo is constant irrespective of your current culture.
@@ -820,6 +820,10 @@ namespace System.Globalization
                 Contract.Assert(this.dateSeparator != null, "DateTimeFormatInfo.DateSeparator, dateSeparator != null");
                 return (this.dateSeparator);
             }
+            set
+            {
+                throw null;
+            }
         }
 
 
@@ -1276,6 +1280,11 @@ namespace System.Globalization
                 Contract.Assert(this.timeSeparator != null, "DateTimeFormatInfo.TimeSeparator, timeSeparator != null");
                 return (timeSeparator);
             }
+
+            set
+            {
+                throw null;
+            }
         }
 
 
index 28758c5f1ccc348a793e0b855391427f8566ebcd..2345fb5bc218e040376acfbe139c7303ef75267d 100644 (file)
@@ -9,7 +9,7 @@ namespace System.Globalization
     // This class represents a starting/ending time for a period of daylight saving time.
 
     [Serializable]
-    internal class DaylightTime
+    public partial class DaylightTime
     {
         internal DateTime m_start;
         internal DateTime m_end;
index a357d70d7e0a6ac6dc174d6f043fa3ca60eab20b..8ec204e9ef32297369a5c41ef03dcb74f6798517 100644 (file)
@@ -69,7 +69,7 @@ namespace System.Globalization
 
     [Serializable]
     [System.Runtime.InteropServices.ComVisible(true)]
-    public class HebrewCalendar : Calendar
+    public partial class HebrewCalendar : Calendar
     {
         public static readonly int HebrewEra = 1;
 
index 1082b6f078b2b80b4d824cd757532fab41975553..77287f548f3eb6f470917128bdf8fda6c8088b3e 100644 (file)
@@ -43,7 +43,7 @@ namespace System.Globalization
 
     [Serializable]
     [System.Runtime.InteropServices.ComVisible(true)]
-    sealed public class NumberFormatInfo : IFormatProvider, ICloneable
+    sealed public partial class NumberFormatInfo : IFormatProvider, ICloneable
     {
         // invariantInfo is constant irrespective of your current culture.
         private static volatile NumberFormatInfo invariantInfo;
index 6d1eef750c8ca5b27fff555f4fb20580a2abdafd..2945543bb84722d23c0ac57c1f481c62b0e39ed8 100644 (file)
@@ -25,7 +25,7 @@ namespace System.Globalization
 {
     [Serializable]
     [System.Runtime.InteropServices.ComVisible(true)]
-    public class RegionInfo
+    public partial class RegionInfo
     {
         //--------------------------------------------------------------------//
         //                        Internal Information                        //
diff --git a/src/mscorlib/corefx/System/Globalization/STUBS.cs b/src/mscorlib/corefx/System/Globalization/STUBS.cs
new file mode 100644 (file)
index 0000000..8c85e83
--- /dev/null
@@ -0,0 +1,180 @@
+namespace System.Globalization
+{
+    public abstract partial class Calendar : System.ICloneable
+    {
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public virtual int GetLeapMonth(int year) { throw new NotImplementedException(); }
+    }
+
+    [System.Runtime.InteropServices.ComVisible(true)]
+    public enum CalendarAlgorithmType
+    {
+        Unknown = 0,            // This is the default value to return in the Calendar base class.
+        SolarCalendar = 1,      // Solar-base calendar, such as GregorianCalendar, jaoaneseCalendar, JulianCalendar, etc.
+                                // Solar calendars are based on the solar year and seasons.
+        LunarCalendar = 2,      // Lunar-based calendar, such as Hijri and UmAlQuraCalendar.
+                                // Lunar calendars are based on the path of the moon.  The seasons are not accurately represented.
+        LunisolarCalendar = 3   // Lunisolar-based calendar which use leap month rule, such as HebrewCalendar and Asian Lunisolar calendars.
+                                // Lunisolar calendars are based on the cycle of the moon, but consider the seasons as a secondary consideration,
+                                // so they align with the seasons as well as lunar events.
+    }
+
+    public static partial class CharUnicodeInfo
+    {
+        public static int GetDecimalDigitValue(char ch) { throw new NotImplementedException(); }
+        public static int GetDecimalDigitValue(string s, int index) { throw new NotImplementedException(); }
+        public static int GetDigitValue(char ch) { throw new NotImplementedException(); }
+        public static int GetDigitValue(string s, int index) { throw new NotImplementedException(); }
+    }
+
+    public partial class CompareInfo : System.Runtime.Serialization.IDeserializationCallback
+    {
+        public int LCID { get { throw new NotImplementedException(); } }
+        public static System.Globalization.CompareInfo GetCompareInfo(int culture) { throw new NotImplementedException(); }
+        public static System.Globalization.CompareInfo GetCompareInfo(int culture, System.Reflection.Assembly assembly) { throw new NotImplementedException(); }
+        public static System.Globalization.CompareInfo GetCompareInfo(string name, System.Reflection.Assembly assembly) { throw new NotImplementedException(); }
+        public virtual System.Globalization.SortKey GetSortKey(string source) { throw new NotImplementedException(); }
+        public virtual System.Globalization.SortKey GetSortKey(string source, System.Globalization.CompareOptions options) { throw new NotImplementedException(); }
+        public virtual int IndexOf(string source, char value, int startIndex) { throw new NotImplementedException(); }
+        public virtual int IndexOf(string source, string value, int startIndex) { throw new NotImplementedException(); }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public static bool IsSortable(char ch) { throw new NotImplementedException(); }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        [System.Security.SecuritySafeCriticalAttribute]
+        public static bool IsSortable(string text) { throw new NotImplementedException(); }
+        public virtual int LastIndexOf(string source, char value, int startIndex) { throw new NotImplementedException(); }
+        public virtual int LastIndexOf(string source, string value, int startIndex) { throw new NotImplementedException(); }
+    }
+
+    public partial class CultureInfo : System.ICloneable, System.IFormatProvider
+    {
+        public CultureInfo(int culture) { throw new NotImplementedException(); }
+        public CultureInfo(int culture, bool useUserOverride) { throw new NotImplementedException(); }
+        public static System.Globalization.CultureInfo InstalledUICulture { get { throw new NotImplementedException(); } }
+        public virtual int LCID { get { throw new NotImplementedException(); } }
+        public virtual string ThreeLetterISOLanguageName { get { throw new NotImplementedException(); } }
+        public virtual string ThreeLetterWindowsLanguageName { get { throw new NotImplementedException(); } }
+        public void ClearCachedData() { throw new NotImplementedException(); }
+        public static System.Globalization.CultureInfo CreateSpecificCulture(string name) { throw new NotImplementedException(); }
+        public static System.Globalization.CultureInfo GetCultureInfo(int culture) { throw new NotImplementedException(); }
+        public static System.Globalization.CultureInfo GetCultureInfo(string name, string altName) { throw new NotImplementedException(); }
+        public static System.Globalization.CultureInfo GetCultureInfoByIetfLanguageTag(string name) { throw new NotImplementedException(); }
+        public static System.Globalization.CultureInfo[] GetCultures(System.Globalization.CultureTypes types) { throw new NotImplementedException(); }
+    }
+
+    public partial class CultureNotFoundException : System.ArgumentException, System.Runtime.Serialization.ISerializable
+    {
+        public CultureNotFoundException(string message, int invalidCultureId, System.Exception innerException) { throw new NotImplementedException(); }
+        public CultureNotFoundException(string paramName, int invalidCultureId, string message) { throw new NotImplementedException(); }
+        public virtual System.Nullable<int> InvalidCultureId { get { throw new NotImplementedException(); } }
+    }
+
+    public enum CultureTypes
+    {
+        AllCultures = 7,
+        [System.ObsoleteAttribute("This value has been deprecated.  Please use other values in CultureTypes.")]
+        FrameworkCultures = 64,
+        InstalledWin32Cultures = 4,
+        NeutralCultures = 1,
+        ReplacementCultures = 16,
+        SpecificCultures = 2,
+        UserCustomCulture = 8,
+        [System.ObsoleteAttribute("This value has been deprecated.  Please use other values in CultureTypes.")]
+        WindowsOnlyCultures = 32,
+    }
+
+    public sealed partial class DateTimeFormatInfo : System.ICloneable, System.IFormatProvider
+    {
+        // Can't do partial properties so add the setter for DateSeparator and TimeSeparator
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public string NativeCalendarName { get { throw new NotImplementedException(); } }
+        public string[] GetAllDateTimePatterns() { throw new NotImplementedException(); }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public string GetShortestDayName(System.DayOfWeek dayOfWeek) { throw new NotImplementedException(); }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public void SetAllDateTimePatterns(string[] patterns, char format) { throw new NotImplementedException(); }
+    }
+
+    public enum DigitShapes
+    {
+        Context = 0,
+        NativeNational = 2,
+        None = 1,
+    }
+
+    public sealed partial class IdnMapping
+    {
+        public IdnMapping() { }
+        public bool AllowUnassigned { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } }
+        public bool UseStd3AsciiRules { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } }
+        public override bool Equals(object obj) { throw new NotImplementedException(); }
+        public string GetAscii(string unicode) { throw new NotImplementedException(); }
+        public string GetAscii(string unicode, int index) { throw new NotImplementedException(); }
+        public string GetAscii(string unicode, int index, int count) { throw new NotImplementedException(); }
+        public override int GetHashCode() { throw new NotImplementedException(); }
+        public string GetUnicode(string ascii) { throw new NotImplementedException(); }
+        public string GetUnicode(string ascii, int index) { throw new NotImplementedException(); }
+        public string GetUnicode(string ascii, int index, int count) { throw new NotImplementedException(); }
+    }
+
+    public sealed partial class NumberFormatInfo : System.ICloneable, System.IFormatProvider
+    {
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public System.Globalization.DigitShapes DigitSubstitution { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public string[] NativeDigits { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } }
+    }
+
+    public partial class RegionInfo
+    {
+        public RegionInfo(int culture) { throw new NotImplementedException(); }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public virtual string CurrencyEnglishName { get { throw new NotImplementedException(); } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public virtual string CurrencyNativeName { get { throw new NotImplementedException(); } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public virtual int GeoId { get { throw new NotImplementedException(); } }
+        public virtual string ThreeLetterISORegionName { get { throw new NotImplementedException(); } }
+        public virtual string ThreeLetterWindowsRegionName { get { throw new NotImplementedException(); } }
+    }
+
+    public partial class SortKey
+    {
+        internal SortKey() { throw new NotImplementedException(); }
+        public virtual byte[] KeyData { get { throw new NotImplementedException(); } }
+        public virtual string OriginalString { get { throw new NotImplementedException(); } }
+        public static int Compare(System.Globalization.SortKey sortkey1, System.Globalization.SortKey sortkey2) { throw new NotImplementedException(); }
+        public override bool Equals(object value) { throw new NotImplementedException(); }
+        public override int GetHashCode() { throw new NotImplementedException(); }
+        public override string ToString() { throw new NotImplementedException(); }
+    }
+
+    public sealed partial class SortVersion : System.IEquatable<System.Globalization.SortVersion>
+    {
+        public SortVersion(int fullVersion, System.Guid sortId) { throw new NotImplementedException(); }
+        public int FullVersion { get { throw new NotImplementedException(); } }
+        public System.Guid SortId { get { throw new NotImplementedException(); } }
+        public bool Equals(System.Globalization.SortVersion other) { throw new NotImplementedException(); }
+        public override bool Equals(object obj) { throw new NotImplementedException(); }
+        public override int GetHashCode() { throw new NotImplementedException(); }
+        public static bool operator ==(System.Globalization.SortVersion left, System.Globalization.SortVersion right) { throw new NotImplementedException(); }
+        public static bool operator !=(System.Globalization.SortVersion left, System.Globalization.SortVersion right) { throw new NotImplementedException(); }
+    }
+
+    public partial class StringInfo 
+    {
+        public string SubstringByTextElements(int startingTextElement) { throw new NotImplementedException(); }
+        public string SubstringByTextElements(int startingTextElement, int lengthInTextElements) { throw new NotImplementedException(); }
+    }
+
+    public partial class TextInfo : System.ICloneable, System.Runtime.Serialization.IDeserializationCallback 
+    {
+        public virtual int ANSICodePage { get { throw new NotImplementedException(); } }
+        public virtual int EBCDICCodePage { get { throw new NotImplementedException(); } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public int LCID { get { throw new NotImplementedException(); } }
+        public virtual int MacCodePage { get { throw new NotImplementedException(); } }
+        public virtual int OEMCodePage { get { throw new NotImplementedException(); } }
+        public string ToTitleCase(string str) { throw new NotImplementedException(); }
+    }
+}
\ No newline at end of file
index 8c6b44ae2b07991cd345646ff8585f2106cff67f..1b944266113690d59f31974f7925099f0807de9d 100644 (file)
@@ -26,7 +26,7 @@ namespace System.Globalization
 {
     [Serializable]
     [System.Runtime.InteropServices.ComVisible(true)]
-    public class StringInfo
+    public partial class StringInfo
     {
         [OptionalField(VersionAdded = 2)] 
         private String m_str;
index 1dbcf656cfac83865edece3a90815a4c85a21002..cc89c5569687cdee19691571c9c701cfe7faf0d9 100644 (file)
@@ -21,7 +21,7 @@ namespace System.Globalization
     */
 
     [Serializable]
-    public class UmAlQuraCalendar : Calendar
+    public partial class UmAlQuraCalendar : Calendar
     {
         internal const int MinCalendarYear = 1318;
         internal const int MaxCalendarYear = 1500;
index c7836d88f2e176a3d522a2fbf48428bcaa772f90..37b10bcae75bf18ea7b7eb72332aac27c2be256f 100644 (file)
       <Member Name="AddSeconds(System.DateTime,System.Int32)" />
       <Member Name="AddWeeks(System.DateTime,System.Int32)" />
       <Member Name="AddYears(System.DateTime,System.Int32)" />
+      <Member Name="Clone" />
       <Member Name="get_Eras" />
       <Member Name="get_IsReadOnly" />
       <Member Name="get_MaxSupportedDateTime" />
       <Member Name="GetDaysInYear(System.Int32,System.Int32)" />
       <Member Name="GetEra(System.DateTime)" />
       <Member Name="GetHour(System.DateTime)" />
+      <Member Name="GetLeapMonth(System.Int32)" />
       <Member Name="GetMilliseconds(System.DateTime)" />
       <Member Name="GetMinute(System.DateTime)" />
       <Member Name="GetMonth(System.DateTime)" />
       <Member Name="IsLeapMonth(System.Int32,System.Int32,System.Int32)" />
       <Member Name="IsLeapYear(System.Int32)" />
       <Member Name="IsLeapYear(System.Int32,System.Int32)" />
+      <Member Name="ReadOnly(System.Globalization.Calendar)" />
       <Member Name="set_TwoDigitYearMax(System.Int32)" />
       <Member Name="ToDateTime(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" />
       <Member Name="ToDateTime(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" />
       <Member Status="ImplRoot" MemberType="Field" Name="CAL_GREGORIAN_XLIT_ENGLISH" Condition="not FEATURE_COREFX_GLOBALIZATION" />
       <Member Status="ImplRoot" MemberType="Field" Name="CAL_GREGORIAN_XLIT_FRENCH" Condition="not FEATURE_COREFX_GLOBALIZATION" />
     </Type>
+    <Type Name="System.Globalization.CalendarAlgorithmType">
+      <Member MemberType="Field" Name="LunarCalendar" />
+      <Member MemberType="Field" Name="LunisolarCalendar" />
+      <Member MemberType="Field" Name="SolarCalendar" />
+      <Member MemberType="Field" Name="Unknown" />
+      <Member MemberType="Field" Name="value__" />
+    </Type>
     <Type Name="System.Globalization.CalendarWeekRule">
       <Member MemberType="Field" Name="FirstDay" />
       <Member MemberType="Field" Name="FirstFourDayWeek" />
       <Member MemberType="Field" Name="value__" />
     </Type>
     <Type Name="System.Globalization.CharUnicodeInfo">
+      <Member Name="GetDecimalDigitValue(System.Char)" />
+      <Member Name="GetDecimalDigitValue(System.String,System.Int32)" />
+      <Member Name="GetDigitValue(System.Char)" />
+      <Member Name="GetDigitValue(System.String,System.Int32)" />
       <Member Name="GetNumericValue(System.Char)" />
       <Member Name="GetNumericValue(System.String,System.Int32)" />
       <Member Name="GetUnicodeCategory(System.Char)" />
       <Member Name="Compare(System.String,System.String)" />
       <Member Name="Compare(System.String,System.String,System.Globalization.CompareOptions)" />
       <Member Name="Equals(System.Object)" />
+      <Member Name="get_LCID" />
       <Member Name="get_Name" />
+      <Member Name="GetCompareInfo(System.Int32)" />
+      <Member Name="GetCompareInfo(System.Int32,System.Reflection.Assembly)" />
       <Member Name="GetCompareInfo(System.String)" />
+      <Member Name="GetCompareInfo(System.String,System.Reflection.Assembly)" />
       <Member Name="GetHashCode" />
       <Member Name="GetHashCode(System.String,System.Globalization.CompareOptions)" />
+      <Member Name="GetSortKey(System.String)" />
+      <Member Name="GetSortKey(System.String,System.Globalization.CompareOptions)" />
       <Member Name="IndexOf(System.String,System.Char)" />
       <Member Name="IndexOf(System.String,System.Char,System.Globalization.CompareOptions)" />
+      <Member Name="IndexOf(System.String,System.Char,System.Int32)" />
       <Member Name="IndexOf(System.String,System.Char,System.Int32,System.Globalization.CompareOptions)" />
       <Member Name="IndexOf(System.String,System.Char,System.Int32,System.Int32)" />
       <Member Name="IndexOf(System.String,System.Char,System.Int32,System.Int32,System.Globalization.CompareOptions)" />
       <Member Name="IndexOf(System.String,System.String)" />
       <Member Name="IndexOf(System.String,System.String,System.Globalization.CompareOptions)" />
+      <Member Name="IndexOf(System.String,System.String,System.Int32)" />
       <Member Name="IndexOf(System.String,System.String,System.Int32,System.Globalization.CompareOptions)" />
       <Member Name="IndexOf(System.String,System.String,System.Int32,System.Int32)" />
       <Member Name="IndexOf(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions)" />
       <Member Name="IsPrefix(System.String,System.String)" />
       <Member Name="IsPrefix(System.String,System.String,System.Globalization.CompareOptions)" />
+      <Member Name="IsSortable(System.Char)" />
+      <Member Name="IsSortable(System.String)" />
       <Member Name="IsSuffix(System.String,System.String)" />
       <Member Name="IsSuffix(System.String,System.String,System.Globalization.CompareOptions)" />
       <Member Name="LastIndexOf(System.String,System.Char)" />
       <Member Name="LastIndexOf(System.String,System.Char,System.Globalization.CompareOptions)" />
+      <Member Name="LastIndexOf(System.String,System.Char,System.Int32)" />
       <Member Name="LastIndexOf(System.String,System.Char,System.Int32,System.Globalization.CompareOptions)" />
       <Member Name="LastIndexOf(System.String,System.Char,System.Int32,System.Int32)" />
       <Member Name="LastIndexOf(System.String,System.Char,System.Int32,System.Int32,System.Globalization.CompareOptions)" />
       <Member Name="LastIndexOf(System.String,System.String)" />
       <Member Name="LastIndexOf(System.String,System.String,System.Globalization.CompareOptions)" />
+      <Member Name="LastIndexOf(System.String,System.String,System.Int32)" />
       <Member Name="LastIndexOf(System.String,System.String,System.Int32,System.Globalization.CompareOptions)" />
       <Member Name="LastIndexOf(System.String,System.String,System.Int32,System.Int32)" />
       <Member Name="LastIndexOf(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions)" />
       <Member Status="ImplRoot" Name="OnDeserialized(System.Runtime.Serialization.StreamingContext)" />
       <Member Status="ImplRoot" Name="OnDeserializing(System.Runtime.Serialization.StreamingContext)" />
       <Member Status="ImplRoot" Name="OnSerializing(System.Runtime.Serialization.StreamingContext)" />
+      <Member Status="ImplRoot" Name="System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(System.Object)" />
       <Member Name="ToString" />
+      <Member MemberType="Property" Name="LCID" />
       <Member MemberType="Property" Name="Name" />
     </Type>
     <Type Name="System.Globalization.CompareOptions">
       <Member MemberType="Field" Name="value__" />
     </Type>
     <Type Name="System.Globalization.CultureInfo">
+      <Member Name="#ctor(System.Int32)" />
+      <Member Name="#ctor(System.Int32,System.Boolean)" />
       <Member Name="#ctor(System.String)" />
+      <Member Name="#ctor(System.String,System.Boolean)" />
+      <Member Name="ClearCachedData" />
       <Member Name="Clone" />
+      <Member Name="CreateSpecificCulture(System.String)" />
       <Member Name="Equals(System.Object)" />
       <Member Name="get_Calendar" />
       <Member Name="get_CompareInfo" />
       <Member Name="get_DateTimeFormat" />
       <Member Name="get_DisplayName" />
       <Member Name="get_EnglishName" />
+      <Member Name="get_InstalledUICulture" />
       <Member Name="get_InvariantCulture" />
       <Member Name="get_IsNeutralCulture" />
       <Member Name="get_IsReadOnly" />
+      <Member Name="get_LCID" />
       <Member Name="get_Name" />
       <Member Name="get_NativeName" />
       <Member Name="get_NumberFormat" />
       <Member Name="get_OptionalCalendars" />
       <Member Name="get_Parent" />
       <Member Name="get_TextInfo" />
+      <Member Name="get_ThreeLetterISOLanguageName" />
+      <Member Name="get_ThreeLetterWindowsLanguageName" />
       <Member Name="get_TwoLetterISOLanguageName" />
+      <Member Name="get_UseUserOverride" />
+      <Member Name="GetCultureInfo(System.Int32)" />
+      <Member Name="GetCultureInfo(System.String)" />
+      <Member Name="GetCultureInfo(System.String,System.String)" />
+      <Member Name="GetCultureInfoByIetfLanguageTag(System.String)" />
+      <Member Name="GetCultures(System.Globalization.CultureTypes)" />
       <Member Name="GetFormat(System.Type)" />
       <Member Name="GetHashCode" />
       <Member Status="ImplRoot" Name="OnDeserialized(System.Runtime.Serialization.StreamingContext)" />
       <Member MemberType="Property" Name="DefaultThreadCurrentUICulture"/>
       <Member MemberType="Property" Name="DisplayName" />
       <Member MemberType="Property" Name="EnglishName" />
+      <Member MemberType="Property" Name="InstalledUICulture" />
       <Member MemberType="Property" Name="InvariantCulture" />
       <Member MemberType="Property" Name="IsNeutralCulture" />
       <Member MemberType="Property" Name="IsReadOnly" />
+      <Member MemberType="Property" Name="LCID" />
       <Member MemberType="Property" Name="Name" />
       <Member MemberType="Property" Name="NativeName" />
       <Member MemberType="Property" Name="NumberFormat" />
       <Member MemberType="Property" Name="OptionalCalendars" />
       <Member MemberType="Property" Name="Parent" />
       <Member MemberType="Property" Name="TextInfo" />
+      <Member MemberType="Property" Name="ThreeLetterISOLanguageName" />
+      <Member MemberType="Property" Name="ThreeLetterWindowsLanguageName" />
       <Member MemberType="Property" Name="TwoLetterISOLanguageName" />
+      <Member MemberType="Property" Name="UseUserOverride" />
       <Member Status="ImplRoot" MemberType="Property" Name="SortName" />
       <Member Status="ImplRoot" MemberType="Field" Name="m_parent" />
       <Member Status="ImplRoot" MemberType="Field" Name="m_useUserOverride" Condition="not FEATURE_COREFX_GLOBALIZATION" />
       <Member Name="#ctor(System.String)" />
       <Member Name="#ctor(System.String,System.String)" />
       <Member Name="#ctor(System.String,System.Exception)" />
+      <Member Name="#ctor(System.String,System.Int32,System.Exception)" />
+      <Member Name="#ctor(System.String,System.Int32,System.String)" />
       <Member Name="#ctor(System.String,System.String,System.String)" />
       <Member Name="#ctor(System.String,System.String,System.Exception)" />
       <Member Name="#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)" />
+      <Member Name="get_InvalidCultureId" />
       <Member Name="get_InvalidCultureName" />
       <Member Name="get_Message" />
+      <Member Name="GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)" />
+      <Member MemberType="Property" Name="InvalidCultureId" />
       <Member MemberType="Property" Name="InvalidCultureName" />
       <Member MemberType="Property" Name="Message" />
     </Type>
+    <Type Name="System.Globalization.CultureTypes">
+      <Member MemberType="Field" Name="AllCultures" />
+      <Member MemberType="Field" Name="FrameworkCultures" />
+      <Member MemberType="Field" Name="InstalledWin32Cultures" />
+      <Member MemberType="Field" Name="NeutralCultures" />
+      <Member MemberType="Field" Name="ReplacementCultures" />
+      <Member MemberType="Field" Name="SpecificCultures" />
+      <Member MemberType="Field" Name="UserCustomCulture" />
+      <Member MemberType="Field" Name="value__" />
+      <Member MemberType="Field" Name="WindowsOnlyCultures" />
+    </Type>
     <Type Name="System.Globalization.DateTimeFormatInfo">
       <Member Name="#ctor" />
       <Member Name="Clone" />
       <Member Name="get_Calendar" />
       <Member Name="get_CalendarWeekRule" />
       <Member Name="get_CurrentInfo" />
+      <Member Name="get_DateSeparator" />
       <Member Name="get_DayNames" />
       <Member Name="get_FirstDayOfWeek" />
       <Member Name="get_FullDateTimePattern" />
       <Member Name="get_MonthDayPattern" />
       <Member Name="get_MonthGenitiveNames" />
       <Member Name="get_MonthNames" />
+      <Member Name="get_NativeCalendarName" />
       <Member Name="get_PMDesignator" />
       <Member Name="get_RFC1123Pattern" />
       <Member Name="get_ShortDatePattern" />
       <Member Name="get_ShortestDayNames" />
       <Member Name="get_ShortTimePattern" />
       <Member Name="get_SortableDateTimePattern" />
+      <Member Name="get_TimeSeparator" />
       <Member Name="get_UniversalSortableDateTimePattern" />
       <Member Name="get_YearMonthPattern" />
       <Member Name="GetAbbreviatedDayName(System.DayOfWeek)" />
       <Member Name="GetAbbreviatedEraName(System.Int32)" />
       <Member Name="GetAbbreviatedMonthName(System.Int32)" />
+      <Member Name="GetAllDateTimePatterns" />
+      <Member Name="GetAllDateTimePatterns(System.Char)" />
       <Member Name="GetDayName(System.DayOfWeek)" />
       <Member Name="GetEra(System.String)" />
       <Member Name="GetEraName(System.Int32)" />
       <Member Name="GetFormat(System.Type)" />
       <Member Name="GetInstance(System.IFormatProvider)" />
       <Member Name="GetMonthName(System.Int32)" />
+      <Member Name="GetShortestDayName(System.DayOfWeek)" />
       <Member Status="ImplRoot" Name="OnDeserialized(System.Runtime.Serialization.StreamingContext)" />
       <Member Status="ImplRoot" Name="OnSerializing(System.Runtime.Serialization.StreamingContext)" />
       <Member Name="ReadOnly(System.Globalization.DateTimeFormatInfo)" />
       <Member Name="set_AMDesignator(System.String)" />
       <Member Name="set_Calendar(System.Globalization.Calendar)" />
       <Member Name="set_CalendarWeekRule(System.Globalization.CalendarWeekRule)" />
+      <Member Name="set_DateSeparator(System.String)" />
       <Member Name="set_DayNames(System.String[])" />
       <Member Name="set_FirstDayOfWeek(System.DayOfWeek)" />
       <Member Name="set_FullDateTimePattern(System.String)" />
       <Member Name="set_ShortDatePattern(System.String)" />
       <Member Name="set_ShortestDayNames(System.String[])" />
       <Member Name="set_ShortTimePattern(System.String)" />
+      <Member Name="set_TimeSeparator(System.String)" />
       <Member Name="set_YearMonthPattern(System.String)" />
+      <Member Name="SetAllDateTimePatterns(System.String[],System.Char)" />
       <Member MemberType="Property" Name="AbbreviatedDayNames" />
       <Member MemberType="Property" Name="AbbreviatedMonthGenitiveNames" />
       <Member MemberType="Property" Name="AbbreviatedMonthNames" />
       <Member MemberType="Property" Name="Calendar" />
       <Member MemberType="Property" Name="CalendarWeekRule" />
       <Member MemberType="Property" Name="CurrentInfo" />
+      <Member MemberType="Property" Name="DateSeparator" />
       <Member MemberType="Property" Name="DayNames" />
       <Member MemberType="Property" Name="FirstDayOfWeek" />
       <Member MemberType="Property" Name="FullDateTimePattern" />
       <Member MemberType="Property" Name="MonthDayPattern" />
       <Member MemberType="Property" Name="MonthGenitiveNames" />
       <Member MemberType="Property" Name="MonthNames" />
+      <Member MemberType="Property" Name="NativeCalendarName" />
       <Member MemberType="Property" Name="PMDesignator" />
       <Member MemberType="Property" Name="RFC1123Pattern" />
       <Member MemberType="Property" Name="ShortDatePattern" />
       <Member MemberType="Property" Name="ShortestDayNames" />
       <Member MemberType="Property" Name="ShortTimePattern" />
       <Member MemberType="Property" Name="SortableDateTimePattern" />
+      <Member MemberType="Property" Name="TimeSeparator" />
       <Member MemberType="Property" Name="UniversalSortableDateTimePattern" />
       <Member MemberType="Property" Name="YearMonthPattern" />
     </Type>
       <Member MemberType="Field" Name="RoundtripKind" />
       <Member MemberType="Field" Name="value__" />
     </Type>
-
+    <Type Name="System.Globalization.DaylightTime">
+      <Member Name="#ctor(System.DateTime,System.DateTime,System.TimeSpan)" />
+      <Member Name="get_Delta" />
+      <Member Name="get_End" />
+      <Member Name="get_Start" />
+      <Member MemberType="Property" Name="Delta" />
+      <Member MemberType="Property" Name="End" />
+      <Member MemberType="Property" Name="Start" />
+    </Type>
+    <Type Name="System.Globalization.DigitShapes">
+      <Member MemberType="Field" Name="Context" />
+      <Member MemberType="Field" Name="NativeNational" />
+      <Member MemberType="Field" Name="None" />
+      <Member MemberType="Field" Name="value__" />
+    </Type>
     <Type Name="System.Globalization.PersianCalendar">
       <Member MemberType="Field" Name="PersianEra" />
       <Member Name="#ctor" />
       <Member MemberType="Property" Name="TwoDigitYearMax" />
     </Type>
     <Type Name="System.Globalization.HebrewCalendar">
+      <Member MemberType="Field" Name="HebrewEra" />
       <Member Name="#ctor" />
       <Member Name="AddMonths(System.DateTime,System.Int32)" />
       <Member Name="AddYears(System.DateTime,System.Int32)" />
       <Member MemberType="Property" Name="TwoDigitYearMax" />
     </Type>
     <Type Name="System.Globalization.HijriCalendar">
+      <Member MemberType="Field" Name="HijriEra" />
       <Member Name="#ctor" />
       <Member Name="AddMonths(System.DateTime,System.Int32)" />
       <Member Name="AddYears(System.DateTime,System.Int32)" />
       <Member MemberType="Property" Name="MinSupportedDateTime" />
       <Member MemberType="Property" Name="TwoDigitYearMax" />
     </Type>
+    <Type Name="System.Globalization.IdnMapping">
+      <Member Name="#ctor" />
+      <Member Name="Equals(System.Object)" />
+      <Member Name="get_AllowUnassigned" />
+      <Member Name="get_UseStd3AsciiRules" />
+      <Member Name="GetAscii(System.String)" />
+      <Member Name="GetAscii(System.String,System.Int32)" />
+      <Member Name="GetAscii(System.String,System.Int32,System.Int32)" />
+      <Member Name="GetHashCode" />
+      <Member Name="GetUnicode(System.String)" />
+      <Member Name="GetUnicode(System.String,System.Int32)" />
+      <Member Name="GetUnicode(System.String,System.Int32,System.Int32)" />
+      <Member Name="set_AllowUnassigned(System.Boolean)" />
+      <Member Name="set_UseStd3AsciiRules(System.Boolean)" />
+      <Member MemberType="Property" Name="AllowUnassigned" />
+      <Member MemberType="Property" Name="UseStd3AsciiRules" />
+    </Type>
     <Type Name="System.Globalization.KoreanCalendar">
       <Member MemberType="Field" Name="KoreanEra" />
       <Member Name="#ctor" />
       <Member MemberType="Property" Name="MinSupportedDateTime" />
     </Type>
     <Type Name="System.Globalization.UmAlQuraCalendar">
+      <Member MemberType="Field" Name="UmAlQuraEra" />
       <Member Name="#ctor" />
       <Member Name="AddMonths(System.DateTime,System.Int32)" />
       <Member Name="AddYears(System.DateTime,System.Int32)" />
       <Member Name="get_CurrencyPositivePattern" />
       <Member Name="get_CurrencySymbol" />
       <Member Name="get_CurrentInfo" />
+      <Member Name="get_DigitSubstitution" />
       <Member Name="get_InvariantInfo" />
       <Member Name="get_IsReadOnly" />
       <Member Name="get_NaNSymbol" />
+      <Member Name="get_NativeDigits" />
       <Member Name="get_NegativeInfinitySymbol" />
       <Member Name="get_NegativeSign" />
       <Member Name="get_NumberDecimalDigits" />
       <Member Name="set_CurrencyNegativePattern(System.Int32)" />
       <Member Name="set_CurrencyPositivePattern(System.Int32)" />
       <Member Name="set_CurrencySymbol(System.String)" />
+      <Member Name="set_DigitSubstitution(System.Globalization.DigitShapes)" />
       <Member Name="set_NaNSymbol(System.String)" />
+      <Member Name="set_NativeDigits(System.String[])" />
       <Member Name="set_NegativeInfinitySymbol(System.String)" />
       <Member Name="set_NegativeSign(System.String)" />
       <Member Name="set_NumberDecimalDigits(System.Int32)" />
       <Member MemberType="Property" Name="CurrencyPositivePattern" />
       <Member MemberType="Property" Name="CurrencySymbol" />
       <Member MemberType="Property" Name="CurrentInfo" />
+      <Member MemberType="Property" Name="DigitSubstitution" />
       <Member MemberType="Property" Name="InvariantInfo" />
       <Member MemberType="Property" Name="IsReadOnly" />
       <Member MemberType="Property" Name="NaNSymbol" />
+      <Member MemberType="Property" Name="NativeDigits" />
       <Member MemberType="Property" Name="NegativeInfinitySymbol" />
       <Member MemberType="Property" Name="NegativeSign" />
       <Member MemberType="Property" Name="NumberDecimalDigits" />
       <Member MemberType="Field" Name="value__" />
     </Type>
     <Type Name="System.Globalization.RegionInfo">
+      <Member Name="#ctor(System.Int32)" />
       <Member Name="#ctor(System.String)" />
       <Member Name="Equals(System.Object)" />
       <Member Name="get_CurrencySymbol" />
+      <Member Name="get_CurrencyEnglishName" />
+      <Member Name="get_CurrencyNativeName" />
       <Member Name="get_CurrentRegion" />
       <Member Name="get_DisplayName" />
       <Member Name="get_EnglishName" />
+      <Member Name="get_GeoId" />
       <Member Name="get_IsMetric" />
       <Member Name="get_ISOCurrencySymbol" />
       <Member Name="get_Name" />
       <Member Name="get_NativeName" />
+      <Member Name="get_ThreeLetterISORegionName" />
+      <Member Name="get_ThreeLetterWindowsRegionName" />
       <Member Name="get_TwoLetterISORegionName" />
       <Member Name="GetHashCode" />
       <Member Status="ImplRoot" Name="OnDeserialized(System.Runtime.Serialization.StreamingContext)" />
       <Member Status="ImplRoot" Name="OnSerializing(System.Runtime.Serialization.StreamingContext)" />
       <Member Name="ToString" />
       <Member MemberType="Property" Name="CurrencySymbol" />
+      <Member MemberType="Property" Name="CurrencyEnglishName" />
+      <Member MemberType="Property" Name="CurrencyNativeName" />
       <Member MemberType="Property" Name="CurrentRegion" />
       <Member MemberType="Property" Name="DisplayName" />
       <Member MemberType="Property" Name="EnglishName" />
+      <Member MemberType="Property" Name="GeoId" />
       <Member MemberType="Property" Name="IsMetric" />
       <Member MemberType="Property" Name="ISOCurrencySymbol" />
       <Member MemberType="Property" Name="Name" />
       <Member MemberType="Property" Name="NativeName" />
+      <Member MemberType="Property" Name="ThreeLetterISORegionName" />
+      <Member MemberType="Property" Name="ThreeLetterWindowsRegionName" />
       <Member MemberType="Property" Name="TwoLetterISORegionName" />
     </Type>
+    <Type Name="System.Globalization.SortKey">
+      <Member Name="Compare(System.Globalization.SortKey,System.Globalization.SortKey)" />
+      <Member Name="Equals(System.Object)" />
+      <Member Name="get_KeyData" />
+      <Member Name="get_OriginalString" />
+      <Member Name="GetHashCode" />
+      <Member Name="ToString" />
+      <Member MemberType="Property" Name="KeyData" />
+      <Member MemberType="Property" Name="OriginalString" />
+    </Type>
+    <Type Name="System.Globalization.SortVersion">
+      <Member Name="#ctor(System.Int32,System.Guid)" />
+      <Member Name="Equals(System.Globalization.SortVersion)" />
+      <Member Name="Equals(System.Object)" />
+      <Member Name="get_FullVersion" />
+      <Member Name="get_SortId" />
+      <Member Name="GetHashCode" />
+      <Member Name="op_Equality(System.Globalization.SortVersion,System.Globalization.SortVersion)" />
+      <Member Name="op_Inequality(System.Globalization.SortVersion,System.Globalization.SortVersion)" />
+      <Member MemberType="Property" Name="FullVersion" />
+      <Member MemberType="Property" Name="SortId" />
+    </Type>
     <Type Name="System.Globalization.StringInfo">
       <Member Name="#ctor" />
       <Member Name="#ctor(System.String)" />
       <Member Status="ImplRoot" Name="OnDeserializing(System.Runtime.Serialization.StreamingContext)" />
       <Member Name="ParseCombiningCharacters(System.String)" />
       <Member Name="set_String(System.String)" />
+      <Member Name="SubstringByTextElements(System.Int32)" />
+      <Member Name="SubstringByTextElements(System.Int32,System.Int32)" />
       <Member MemberType="Property" Name="LengthInTextElements" />
       <Member MemberType="Property" Name="String" />
     </Type>
       <Member MemberType="Property" Name="ElementIndex" />
     </Type>
     <Type Name="System.Globalization.TextInfo">
+      <Member Name="Clone" />
       <Member Name="Equals(System.Object)" />
+      <Member Name="get_ANSICodePage" />
       <Member Name="get_CultureName" />
+      <Member Name="get_EBCDICCodePage" />
       <Member Name="get_IsReadOnly" />
       <Member Name="get_IsRightToLeft" />
+      <Member Name="get_LCID" />
       <Member Name="get_ListSeparator" />
+      <Member Name="get_MacCodePage" />
+      <Member Name="get_OEMCodePage" />
       <Member Name="GetHashCode" />
       <Member Status="ImplRoot" Name="OnDeserialized(System.Runtime.Serialization.StreamingContext)" />
       <Member Status="ImplRoot" Name="OnDeserializing(System.Runtime.Serialization.StreamingContext)" />
       <Member Status="ImplRoot" Name="OnSerializing(System.Runtime.Serialization.StreamingContext)" />
+      <Member Status="ImplRoot" Name="System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(System.Object)" />
+      <Member Name="ReadOnly(System.Globalization.TextInfo)" />
       <Member Name="set_ListSeparator(System.String)" />
       <Member Name="ToLower(System.Char)" />
       <Member Name="ToLower(System.String)" />
       <Member Name="ToString" />
+      <Member Name="ToTitleCase(System.String)" />
       <Member Name="ToUpper(System.Char)" />
       <Member Name="ToUpper(System.String)" />
+      <Member MemberType="Property" Name="ANSICodePage" />
       <Member MemberType="Property" Name="CultureName" />
+      <Member MemberType="Property" Name="EBCDICCodePage" />
       <Member MemberType="Property" Name="IsReadOnly" />
       <Member MemberType="Property" Name="IsRightToLeft" />
+      <Member MemberType="Property" Name="LCID" />
       <Member MemberType="Property" Name="ListSeparator" />
+      <Member MemberType="Property" Name="MacCodePage" />
+      <Member MemberType="Property" Name="OEMCodePage" />
     </Type>
     <Type Name="System.Globalization.ThaiBuddhistCalendar">
       <Member MemberType="Field" Name="ThaiBuddhistEra" />
index d0133ad022e572e3ccebcdd5986b10664532a37d..f27317c5e68f3bf002743d53658855f35c555f17 100644 (file)
     <GlobalizationSources Include="$(BclSourcesRoot)\System\Globalization\DaylightTime.cs" />
   </ItemGroup>
   <ItemGroup Condition="'$(FeatureCoreFxGlobalization)' != 'true'">
+    <GlobalizationSources Include="$(BclSourcesRoot)\System\Globalization\STUBS.cs" />
     <GlobalizationSources Include="$(BclSourcesRoot)\System\Globalization\BidiCategory.cs" />
     <GlobalizationSources Include="$(BclSourcesRoot)\System\Globalization\Calendar.cs" />
     <GlobalizationSources Include="$(BclSourcesRoot)\System\Globalization\CalendarData.cs" />
   </ItemGroup>
   <ItemGroup Condition="'$(FeatureCoreFxGlobalization)' == 'true'">
     <GlobalizationSources Include="$(CoreFxSourcesRoot)\SR.cs" />
-  
+    <GlobalizationSources Include="$(CoreFxSourcesRoot)\System\Globalization\STUBS.cs" />
     <GlobalizationSources Include="$(CoreFxSourcesRoot)\System\Globalization\Calendar.cs" />
     <GlobalizationSources Include="$(CoreFxSourcesRoot)\System\Globalization\CalendarData.cs" />
     <GlobalizationSources Include="$(CoreFxSourcesRoot)\System\Globalization\CalendarWeekRule.cs" />
index ca1f2fe5d1b6bd8112c803bd9055e9589438aaf3..56079382bf04ae86ecc5a2a3f3f73ca87f3cb493 100644 (file)
@@ -5329,10 +5329,8 @@ namespace System.Globalization
     {
         public const int CurrentEra = 0;
         protected Calendar() { }
-#if FEATURE_COREFX_GLOBALIZATION
         [System.Runtime.InteropServices.ComVisibleAttribute(false)]
         public virtual System.Globalization.CalendarAlgorithmType AlgorithmType { get { throw null; } }
-#endif
         protected virtual int DaysInYearBeforeMinSupportedYear { get { throw null; } }
         public abstract int[] Eras { get; }
         [System.Runtime.InteropServices.ComVisibleAttribute(false)]
@@ -5362,6 +5360,8 @@ namespace System.Globalization
         public abstract int GetEra(System.DateTime time);
         public virtual int GetHour(System.DateTime time) { throw null; }
         [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public virtual int GetLeapMonth(int year) { throw null; }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
         public virtual int GetLeapMonth(int year, int era) { throw null; }
         public virtual double GetMilliseconds(System.DateTime time) { throw null; }
         public virtual int GetMinute(System.DateTime time) { throw null; }
@@ -5377,11 +5377,12 @@ namespace System.Globalization
         public abstract bool IsLeapMonth(int year, int month, int era);
         public virtual bool IsLeapYear(int year) { throw null; }
         public abstract bool IsLeapYear(int year, int era);
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public static System.Globalization.Calendar ReadOnly(System.Globalization.Calendar calendar) { throw null; }
         public virtual System.DateTime ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond) { throw null; }
         public abstract System.DateTime ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era);
         public virtual int ToFourDigitYear(int year) { throw null; }
     }
-#if FEATURE_COREFX_GLOBALIZATION
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
     public enum CalendarAlgorithmType
     {
@@ -5390,7 +5391,6 @@ namespace System.Globalization
         SolarCalendar = 1,
         Unknown = 0,
     }
-#endif
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
     public enum CalendarWeekRule
     {
@@ -5400,6 +5400,10 @@ namespace System.Globalization
     }
     public static partial class CharUnicodeInfo
     {
+        public static int GetDecimalDigitValue(char ch) { throw null; }
+        public static int GetDecimalDigitValue(string s, int index) { throw null; }
+        public static int GetDigitValue(char ch) { throw null; }
+        public static int GetDigitValue(string s, int index) { throw null; }
         public static double GetNumericValue(char ch) { throw null; }
         public static double GetNumericValue(string s, int index) { throw null; }
         public static System.Globalization.UnicodeCategory GetUnicodeCategory(char ch) { throw null; }
@@ -5420,8 +5424,9 @@ namespace System.Globalization
         public override int GetEra(System.DateTime time) { throw null; }
     }
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
-    public partial class CompareInfo
+    public partial class CompareInfo : System.Runtime.Serialization.IDeserializationCallback
     {
+        public int LCID { get { throw null; } }
         internal CompareInfo() { }
         [System.Runtime.InteropServices.ComVisibleAttribute(false)]
         public virtual string Name { get { throw null; } }
@@ -5434,17 +5439,24 @@ namespace System.Globalization
         [System.Security.SecuritySafeCriticalAttribute]
         public virtual int Compare(string string1, string string2, System.Globalization.CompareOptions options) { throw null; }
         public override bool Equals(object value) { throw null; }
+        public static System.Globalization.CompareInfo GetCompareInfo(int culture) { throw null; }
+        public static System.Globalization.CompareInfo GetCompareInfo(int culture, System.Reflection.Assembly assembly) { throw null; }
         public static System.Globalization.CompareInfo GetCompareInfo(string name) { throw null; }
+        public static System.Globalization.CompareInfo GetCompareInfo(string name, System.Reflection.Assembly assembly) { throw null; }
         public override int GetHashCode() { throw null; }
         public virtual int GetHashCode(string source, System.Globalization.CompareOptions options) { throw null; }
+        public virtual System.Globalization.SortKey GetSortKey(string source) { throw null; }
+        public virtual System.Globalization.SortKey GetSortKey(string source, System.Globalization.CompareOptions options) { throw null; }
         public virtual int IndexOf(string source, char value) { throw null; }
         public virtual int IndexOf(string source, char value, System.Globalization.CompareOptions options) { throw null; }
+        public virtual int IndexOf(string source, char value, int startIndex) { throw null; }
         public virtual int IndexOf(string source, char value, int startIndex, System.Globalization.CompareOptions options) { throw null; }
         public virtual int IndexOf(string source, char value, int startIndex, int count) { throw null; }
         [System.Security.SecuritySafeCriticalAttribute]
         public virtual int IndexOf(string source, char value, int startIndex, int count, System.Globalization.CompareOptions options) { throw null; }
         public virtual int IndexOf(string source, string value) { throw null; }
         public virtual int IndexOf(string source, string value, System.Globalization.CompareOptions options) { throw null; }
+        public virtual int IndexOf(string source, string value, int startIndex) { throw null; }
         public virtual int IndexOf(string source, string value, int startIndex, System.Globalization.CompareOptions options) { throw null; }
         public virtual int IndexOf(string source, string value, int startIndex, int count) { throw null; }
         [System.Security.SecuritySafeCriticalAttribute]
@@ -5452,21 +5464,29 @@ namespace System.Globalization
         public virtual bool IsPrefix(string source, string prefix) { throw null; }
         [System.Security.SecuritySafeCriticalAttribute]
         public virtual bool IsPrefix(string source, string prefix, System.Globalization.CompareOptions options) { throw null; }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public static bool IsSortable(char ch) { throw null; }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        [System.Security.SecuritySafeCriticalAttribute]
+        public static bool IsSortable(string text) { throw null; }
         public virtual bool IsSuffix(string source, string suffix) { throw null; }
         [System.Security.SecuritySafeCriticalAttribute]
         public virtual bool IsSuffix(string source, string suffix, System.Globalization.CompareOptions options) { throw null; }
         public virtual int LastIndexOf(string source, char value) { throw null; }
         public virtual int LastIndexOf(string source, char value, System.Globalization.CompareOptions options) { throw null; }
+        public virtual int LastIndexOf(string source, char value, int startIndex) { throw null; }
         public virtual int LastIndexOf(string source, char value, int startIndex, System.Globalization.CompareOptions options) { throw null; }
         public virtual int LastIndexOf(string source, char value, int startIndex, int count) { throw null; }
         [System.Security.SecuritySafeCriticalAttribute]
         public virtual int LastIndexOf(string source, char value, int startIndex, int count, System.Globalization.CompareOptions options) { throw null; }
         public virtual int LastIndexOf(string source, string value) { throw null; }
         public virtual int LastIndexOf(string source, string value, System.Globalization.CompareOptions options) { throw null; }
+        public virtual int LastIndexOf(string source, string value, int startIndex) { throw null; }
         public virtual int LastIndexOf(string source, string value, int startIndex, System.Globalization.CompareOptions options) { throw null; }
         public virtual int LastIndexOf(string source, string value, int startIndex, int count) { throw null; }
         [System.Security.SecuritySafeCriticalAttribute]
         public virtual int LastIndexOf(string source, string value, int startIndex, int count, System.Globalization.CompareOptions options) { throw null; }
+        void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { }
         public override string ToString() { throw null; }
     }
     [System.FlagsAttribute]
@@ -5486,7 +5506,10 @@ namespace System.Globalization
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
     public partial class CultureInfo : System.ICloneable, System.IFormatProvider
     {
+        public CultureInfo(int culture) { throw null; }
+        public CultureInfo(int culture, bool useUserOverride) { throw null; }
         public CultureInfo(string name) { }
+        public CultureInfo(string name, bool useUserOverride) { throw null; }
         public virtual System.Globalization.Calendar Calendar { get { throw null; } }
         public virtual System.Globalization.CompareInfo CompareInfo { get { throw null; } }
         public static System.Globalization.CultureInfo CurrentCulture { get { throw null; } set { } }
@@ -5496,18 +5519,30 @@ namespace System.Globalization
         public static System.Globalization.CultureInfo DefaultThreadCurrentUICulture { get { throw null; } [System.Security.SecuritySafeCriticalAttribute]set { } }
         public virtual string DisplayName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
         public virtual string EnglishName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
+        public static System.Globalization.CultureInfo InstalledUICulture { get { throw null; } }
         public static System.Globalization.CultureInfo InvariantCulture { get { throw null; } }
         public virtual bool IsNeutralCulture { get { throw null; } }
         public bool IsReadOnly { get { throw null; } }
+        public virtual int LCID { get { throw null; } }
         public virtual string Name { get { throw null; } }
         public virtual string NativeName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
         public virtual System.Globalization.NumberFormatInfo NumberFormat { get { throw null; } set { } }
         public virtual System.Globalization.Calendar[] OptionalCalendars { get { throw null; } }
         public virtual System.Globalization.CultureInfo Parent { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
         public virtual System.Globalization.TextInfo TextInfo { get { throw null; } }
+        public virtual string ThreeLetterISOLanguageName { get { throw null; } }
+        public virtual string ThreeLetterWindowsLanguageName { get { throw null; } }
         public virtual string TwoLetterISOLanguageName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
+        public bool UseUserOverride { get { throw null; } }
+        public void ClearCachedData() { throw null; }
         public virtual object Clone() { throw null; }
+        public static System.Globalization.CultureInfo CreateSpecificCulture(string name) { throw null; }
         public override bool Equals(object value) { throw null; }
+        public static System.Globalization.CultureInfo GetCultureInfo(int culture) { throw null; }
+        public static System.Globalization.CultureInfo GetCultureInfo(string name) { throw null; }
+        public static System.Globalization.CultureInfo GetCultureInfo(string name, string altName) { throw null; }
+        public static System.Globalization.CultureInfo GetCultureInfoByIetfLanguageTag(string name) { throw null; }
+        public static System.Globalization.CultureInfo[] GetCultures(System.Globalization.CultureTypes types) { throw null; }
         public virtual object GetFormat(System.Type formatType) { throw null; }
         public override int GetHashCode() { throw null; }
         public static System.Globalization.CultureInfo ReadOnly(System.Globalization.CultureInfo ci) { throw null; }
@@ -5519,10 +5554,13 @@ namespace System.Globalization
         public CultureNotFoundException() { }
         public CultureNotFoundException(string message) { }
         public CultureNotFoundException(string message, System.Exception innerException) { }
+        public CultureNotFoundException(string message, int invalidCultureId, System.Exception innerException) { }
+        public CultureNotFoundException(string paramName, int invalidCultureId, string message) { }
         public CultureNotFoundException(string paramName, string message) { }
         public CultureNotFoundException(string message, string invalidCultureName, System.Exception innerException) { }
         public CultureNotFoundException(string paramName, string invalidCultureName, string message) { }
         protected CultureNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
+        public virtual System.Nullable<int> InvalidCultureId { get { throw null; } }
         public virtual string InvalidCultureName { get { throw null; } }
         public override string Message { get { throw null; } }
         [System.Security.SecurityCriticalAttribute]
@@ -5540,6 +5578,7 @@ namespace System.Globalization
         public System.Globalization.Calendar Calendar { get { throw null; } set { } }
         public System.Globalization.CalendarWeekRule CalendarWeekRule { get { throw null; } set { } }
         public static System.Globalization.DateTimeFormatInfo CurrentInfo { get { throw null; } }
+        public string DateSeparator { get { throw null; } set { throw null; } }
         public string[] DayNames { get { throw null; } set { } }
         public System.DayOfWeek FirstDayOfWeek { get { throw null; } set { } }
         public string FullDateTimePattern { get { throw null; } set { } }
@@ -5551,6 +5590,8 @@ namespace System.Globalization
         [System.Runtime.InteropServices.ComVisibleAttribute(false)]
         public string[] MonthGenitiveNames { get { throw null; } set { } }
         public string[] MonthNames { get { throw null; } set { } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public string NativeCalendarName { get { throw null; } }
         public string PMDesignator { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } set { } }
         public string RFC1123Pattern { get { throw null; } }
         public string ShortDatePattern { get { throw null; } set { } }
@@ -5558,19 +5599,26 @@ namespace System.Globalization
         public string[] ShortestDayNames { get { throw null; } set { } }
         public string ShortTimePattern { get { throw null; } set { } }
         public string SortableDateTimePattern { get { throw null; } }
+        public string TimeSeparator { get { throw null; } set { throw null; } }
         public string UniversalSortableDateTimePattern { get { throw null; } }
         public string YearMonthPattern { get { throw null; } set { } }
         public object Clone() { throw null; }
         public string GetAbbreviatedDayName(System.DayOfWeek dayofweek) { throw null; }
         public string GetAbbreviatedEraName(int era) { throw null; }
         public string GetAbbreviatedMonthName(int month) { throw null; }
+        public string[] GetAllDateTimePatterns() { throw null; }
+        public string[] GetAllDateTimePatterns(char format) { throw null; }
         public string GetDayName(System.DayOfWeek dayofweek) { throw null; }
         public int GetEra(string eraName) { throw null; }
         public string GetEraName(int era) { throw null; }
         public object GetFormat(System.Type formatType) { throw null; }
         public static System.Globalization.DateTimeFormatInfo GetInstance(System.IFormatProvider provider) { throw null; }
         public string GetMonthName(int month) { throw null; }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public string GetShortestDayName(System.DayOfWeek dayOfWeek) { throw null; }
         public static System.Globalization.DateTimeFormatInfo ReadOnly(System.Globalization.DateTimeFormatInfo dtfi) { throw null; }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public void SetAllDateTimePatterns(string[] patterns, char format) { throw null; }
     }
     [System.FlagsAttribute]
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
@@ -5588,6 +5636,21 @@ namespace System.Globalization
         RoundtripKind = 128,
     }
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+    public partial class DaylightTime
+    {
+        public DaylightTime(System.DateTime start, System.DateTime end, System.TimeSpan delta) { throw null; }
+        public System.TimeSpan Delta { get { throw null; } }
+        public System.DateTime End { get { throw null; } }
+        public System.DateTime Start { get { throw null; } }
+    }
+    [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+    public enum DigitShapes
+    {
+        Context = 0,
+        NativeNational = 2,
+        None = 1,
+    }
+    [System.Runtime.InteropServices.ComVisibleAttribute(true)]
     public abstract partial class EastAsianLunisolarCalendar : System.Globalization.Calendar
     {
         internal EastAsianLunisolarCalendar() { }
@@ -5664,6 +5727,7 @@ namespace System.Globalization
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
     public partial class HebrewCalendar : System.Globalization.Calendar
     {
+        public static readonly int HebrewEra;
         public HebrewCalendar() { }
 #if FEATURE_COREFX_GLOBALIZATION
         public override System.Globalization.CalendarAlgorithmType AlgorithmType { get { throw null; } }
@@ -5693,6 +5757,7 @@ namespace System.Globalization
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
     public partial class HijriCalendar : System.Globalization.Calendar
     {
+        public static readonly int HijriEra;
         public HijriCalendar() { }
 #if FEATURE_COREFX_GLOBALIZATION
         [System.Runtime.InteropServices.ComVisibleAttribute(false)]
@@ -5725,6 +5790,20 @@ namespace System.Globalization
         public override System.DateTime ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era) { throw null; }
         public override int ToFourDigitYear(int year) { throw null; }
     }
+    public sealed partial class IdnMapping
+    {
+        public IdnMapping() { }
+        public bool AllowUnassigned { get { throw null; } set { throw null; } }
+        public bool UseStd3AsciiRules { get { throw null; } set { throw null; } }
+        public override bool Equals(object obj) { throw null; }
+        public string GetAscii(string unicode) { throw null; }
+        public string GetAscii(string unicode, int index) { throw null; }
+        public string GetAscii(string unicode, int index, int count) { throw null; }
+        public override int GetHashCode() { throw null; }
+        public string GetUnicode(string ascii) { throw null; }
+        public string GetUnicode(string ascii, int index) { throw null; }
+        public string GetUnicode(string ascii, int index, int count) { throw null; }
+    }
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
     public partial class JapaneseCalendar : System.Globalization.Calendar
     {
@@ -5864,9 +5943,13 @@ namespace System.Globalization
         public int CurrencyPositivePattern { get { throw null; } set { } }
         public string CurrencySymbol { get { throw null; } set { } }
         public static System.Globalization.NumberFormatInfo CurrentInfo { get { throw null; } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public System.Globalization.DigitShapes DigitSubstitution { get { throw null; } set { throw null; } }
         public static System.Globalization.NumberFormatInfo InvariantInfo { get { throw null; } }
         public bool IsReadOnly { get { throw null; } }
         public string NaNSymbol { get { throw null; } set { } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public string[] NativeDigits { get { throw null; } set { throw null; } }
         public string NegativeInfinitySymbol { get { throw null; } set { } }
         public string NegativeSign { get { throw null; } set { } }
         public int NumberDecimalDigits { get { throw null; } set { } }
@@ -5943,23 +6026,54 @@ namespace System.Globalization
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
     public partial class RegionInfo
     {
+        public RegionInfo(int culture) { throw null; }
         [System.Security.SecuritySafeCriticalAttribute]
         public RegionInfo(string name) { }
         public virtual string CurrencySymbol { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public virtual string CurrencyEnglishName { get { throw null; } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public virtual string CurrencyNativeName { get { throw null; } }
         public static System.Globalization.RegionInfo CurrentRegion { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
         public virtual string DisplayName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
         public virtual string EnglishName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public virtual int GeoId { get { throw null; } }
         public virtual bool IsMetric { get { throw null; } }
         public virtual string ISOCurrencySymbol { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
         public virtual string Name { get { throw null; } }
         [System.Runtime.InteropServices.ComVisibleAttribute(false)]
         public virtual string NativeName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
+        public virtual string ThreeLetterISORegionName { get { throw null; } }
+        public virtual string ThreeLetterWindowsRegionName { get { throw null; } }
         public virtual string TwoLetterISORegionName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
         public override bool Equals(object value) { throw null; }
         public override int GetHashCode() { throw null; }
         public override string ToString() { throw null; }
     }
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+    public partial class SortKey
+    {
+        internal SortKey() { throw null; }
+        public virtual byte[] KeyData { get { throw null; } }
+        public virtual string OriginalString { get { throw null; } }
+        public static int Compare(System.Globalization.SortKey sortkey1, System.Globalization.SortKey sortkey2) { throw null; }
+        public override bool Equals(object value) { throw null; }
+        public override int GetHashCode() { throw null; }
+        public override string ToString() { throw null; }
+    }
+    public sealed partial class SortVersion : System.IEquatable<System.Globalization.SortVersion>
+    {
+        public SortVersion(int fullVersion, System.Guid sortId) { throw null; }
+        public int FullVersion { get { throw null; } }
+        public System.Guid SortId { get { throw null; } }
+        public bool Equals(System.Globalization.SortVersion other) { throw null; }
+        public override bool Equals(object obj) { throw null; }
+        public override int GetHashCode() { throw null; }
+        public static bool operator ==(System.Globalization.SortVersion left, System.Globalization.SortVersion right) { throw null; }
+        public static bool operator !=(System.Globalization.SortVersion left, System.Globalization.SortVersion right) { throw null; }
+    }
+    [System.Runtime.InteropServices.ComVisibleAttribute(true)]
     public partial class StringInfo
     {
         public StringInfo() { }
@@ -5975,6 +6089,8 @@ namespace System.Globalization
         public static System.Globalization.TextElementEnumerator GetTextElementEnumerator(string str) { throw null; }
         public static System.Globalization.TextElementEnumerator GetTextElementEnumerator(string str, int index) { throw null; }
         public static int[] ParseCombiningCharacters(string str) { throw null; }
+        public string SubstringByTextElements(int startingTextElement) { throw null; }
+        public string SubstringByTextElements(int startingTextElement, int lengthInTextElements) { throw null; }
     }
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
     public partial class TaiwanCalendar : System.Globalization.Calendar
@@ -6032,25 +6148,35 @@ namespace System.Globalization
         public void Reset() { }
     }
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
-    public partial class TextInfo : System.ICloneable
+    public partial class TextInfo : System.ICloneable, System.Runtime.Serialization.IDeserializationCallback
     {
         internal TextInfo() { }
+        public virtual int ANSICodePage { get { throw null; } }
         [System.Runtime.InteropServices.ComVisibleAttribute(false)]
         public string CultureName { get { throw null; } }
+        public virtual int EBCDICCodePage { get { throw null; } }
         [System.Runtime.InteropServices.ComVisibleAttribute(false)]
         public bool IsReadOnly { get { throw null; } }
         [System.Runtime.InteropServices.ComVisibleAttribute(false)]
         public bool IsRightToLeft { get { throw null; } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public int LCID { get { throw null; } }
         public virtual string ListSeparator { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } [System.Runtime.InteropServices.ComVisibleAttribute(false)]set { } }
+        public virtual int MacCodePage { get { throw null; } }
+        public virtual int OEMCodePage { get { throw null; } }
         [System.Runtime.InteropServices.ComVisibleAttribute(false)]
         public virtual object Clone() { throw null; }
         public override bool Equals(object obj) { throw null; }
         public override int GetHashCode() { throw null; }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public static System.Globalization.TextInfo ReadOnly(System.Globalization.TextInfo textInfo) { throw null; }
+        void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { throw null; }
         [System.Security.SecuritySafeCriticalAttribute]
         public virtual char ToLower(char c) { throw null; }
         [System.Security.SecuritySafeCriticalAttribute]
         public virtual string ToLower(string str) { throw null; }
         public override string ToString() { throw null; }
+        public string ToTitleCase(string str) { throw null; }
         [System.Security.SecuritySafeCriticalAttribute]
         public virtual char ToUpper(char c) { throw null; }
         [System.Security.SecuritySafeCriticalAttribute]
@@ -6101,6 +6227,7 @@ namespace System.Globalization
     }
     public partial class UmAlQuraCalendar : System.Globalization.Calendar
     {
+        public const int UmAlQuraEra = 1;
         public UmAlQuraCalendar() { }
 #if FEATURE_COREFX_GLOBALIZATION
         public override System.Globalization.CalendarAlgorithmType AlgorithmType { get { throw null; } }
index c1dd32ec15f3c25ab6af5edd2823a75f56a667d2..d7c1f5e2742f8b46be7654eb9c6e468b60891cf8 100644 (file)
@@ -82,7 +82,7 @@ namespace System.Globalization
 
     [System.FlagsAttribute]
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
-    internal enum CultureTypes
+    public enum CultureTypes
     {
         AllCultures = 7,
         [System.ObsoleteAttribute("This value has been deprecated.  Please use other values in CultureTypes.")]
index 9a8abf67ac68b01f63c1f607f8eb0edad4d36d73..0498a017ed941ded16e0f593cc843699ec56daaa 100644 (file)
@@ -66,7 +66,7 @@ namespace System.Globalization {
 
     [Serializable]
     [System.Runtime.InteropServices.ComVisible(true)]
-    public class CompareInfo : IDeserializationCallback
+    public partial class CompareInfo : IDeserializationCallback
     {
         // Mask used to check if IndexOf()/LastIndexOf()/IsPrefix()/IsPostfix() has the right flags.
         private const CompareOptions ValidIndexMaskOffFlags =
index 9e43e62646ecf92c9571c68219f3982ab814da3e..994093bdbff880ebb154d175f1eee364d8dfabb0 100644 (file)
@@ -44,7 +44,7 @@ namespace System.Globalization {
 
     [Serializable]
     [System.Runtime.InteropServices.ComVisible(true)]
-    public class CultureInfo : ICloneable, IFormatProvider {
+    public partial class CultureInfo : ICloneable, IFormatProvider {
         //--------------------------------------------------------------------//
         //                        Internal Information                        //
         //--------------------------------------------------------------------//
index 009866269c2737b717786f2473898436b86e2a9c..3db110f407372209574c9d0d759f7339da851dfb 100644 (file)
@@ -12,7 +12,7 @@ namespace System.Globalization {
     
     [System.Runtime.InteropServices.ComVisible(true)]
     [Serializable]
-    public class CultureNotFoundException : ArgumentException, ISerializable
+    public partial class CultureNotFoundException : ArgumentException, ISerializable
     {
         private string          m_invalidCultureName; // unrecognized culture name
 #if !FEATURE_CORECLR
index 92a5577182d2b991e8c88c5d5c00c023c39e7fc9..7c95e87ec4e8900bbdd0c62ec7c008d1331223be 100644 (file)
@@ -860,6 +860,10 @@ namespace System.Globalization {
                 return (this.dateSeparator);
             }
 
+#if FEATURE_CORECLR
+            set { throw new NotImplementedException(); }
+#endif
+
 #if !FEATURE_CORECLR
             set {
                 if (IsReadOnly)
@@ -1306,6 +1310,10 @@ namespace System.Globalization {
                 return (timeSeparator);
             }
 
+#if FEATURE_CORECLR
+            set { throw new NotImplementedException(); }
+#endif
+
 #if !FEATURE_CORECLR
             set {
                 if (IsReadOnly)
index 205175d4e0a2f25cbf3e60e4d59bce6df20e11f2..599a32ad8789c4df26b231f634548340f5294698 100644 (file)
@@ -132,7 +132,8 @@ namespace System.Globalization
 
         public String GetAscii(String unicode, int index, int count)
         {
-            if (unicode==null) throw new ArgumentNullException("unicode");
+            throw null;
+            /*if (unicode==null) throw new ArgumentNullException("unicode");
             if (index < 0 || count < 0)
                 throw new ArgumentOutOfRangeException((index < 0) ? "index" : "count",
                       Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegNum"));
@@ -187,7 +188,7 @@ namespace System.Globalization
             }
 
             // Go ahead and encode it
-            return punycode_encode(unicode);
+            return punycode_encode(unicode);*/
         }
 
 
index 15facded4d2ef5348caf775a2d1340133dd07aa2..ffa1185020873ab5459f067c2e2577f1dea1ad81 100644 (file)
@@ -42,7 +42,7 @@ namespace System.Globalization {
 
     [Serializable]
 [System.Runtime.InteropServices.ComVisible(true)]
-    sealed public class NumberFormatInfo : ICloneable, IFormatProvider
+    sealed public partial class NumberFormatInfo : ICloneable, IFormatProvider
     {
         // invariantInfo is constant irrespective of your current culture.
         private static volatile NumberFormatInfo invariantInfo;
index 75e0a04a21ef7904ed6bb4553595afb177df1e52..6a6d36aa86e2b1968ef64f37bb81f9691c949f11 100644 (file)
@@ -23,7 +23,7 @@ namespace System.Globalization {
 
     [Serializable] 
     [System.Runtime.InteropServices.ComVisible(true)]
-    public class RegionInfo
+    public partial class RegionInfo
     {
         //--------------------------------------------------------------------//
         //                        Internal Information                        //
diff --git a/src/mscorlib/src/System/Globalization/STUBS.cs b/src/mscorlib/src/System/Globalization/STUBS.cs
new file mode 100644 (file)
index 0000000..59bb114
--- /dev/null
@@ -0,0 +1,77 @@
+namespace System.Globalization
+{
+    public partial class CompareInfo : System.Runtime.Serialization.IDeserializationCallback
+    {
+        public int LCID { get { throw new NotImplementedException(); } }
+        public static System.Globalization.CompareInfo GetCompareInfo(int culture) { throw new NotImplementedException(); }
+        public static System.Globalization.CompareInfo GetCompareInfo(int culture, System.Reflection.Assembly assembly) { throw new NotImplementedException(); }
+    }
+
+    public partial class CultureInfo : System.ICloneable, System.IFormatProvider
+    {
+        public CultureInfo(int culture) { throw new NotImplementedException(); }
+        public CultureInfo(int culture, bool useUserOverride) { throw new NotImplementedException(); }
+        public virtual int LCID { get { throw new NotImplementedException(); } }
+        public virtual string ThreeLetterISOLanguageName { get { throw new NotImplementedException(); } }
+        public virtual string ThreeLetterWindowsLanguageName { get { throw new NotImplementedException(); } }
+        public static System.Globalization.CultureInfo CreateSpecificCulture(string name) { throw new NotImplementedException(); }
+        public static System.Globalization.CultureInfo GetCultureInfo(int culture) { throw new NotImplementedException(); }
+        public static System.Globalization.CultureInfo GetCultureInfoByIetfLanguageTag(string name) { throw new NotImplementedException(); }
+        public static System.Globalization.CultureInfo[] GetCultures(System.Globalization.CultureTypes types) { throw new NotImplementedException(); }
+    }
+
+    public partial class CultureNotFoundException : System.ArgumentException, System.Runtime.Serialization.ISerializable
+    {
+        public CultureNotFoundException(string message, int invalidCultureId, System.Exception innerException) { throw new NotImplementedException(); }
+        public CultureNotFoundException(string paramName, int invalidCultureId, string message) { throw new NotImplementedException(); }
+        public virtual System.Nullable<int> InvalidCultureId { get { throw new NotImplementedException(); } }
+    }
+
+    /*public partial class DateTimeFormatInfo
+    {
+        Can't do partials here so implement the stub in the main class
+        public String DateSeparator { set { throw null; } }
+        public String TimeSeparator { set { throw null; } }
+    }*/
+
+    public sealed partial class NumberFormatInfo : System.ICloneable, System.IFormatProvider
+    {
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public System.Globalization.DigitShapes DigitSubstitution { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } }
+    }
+
+    public partial class RegionInfo
+    {
+        public RegionInfo(int culture) { throw new NotImplementedException(); }
+        public virtual string ThreeLetterISORegionName { get { throw new NotImplementedException(); } }
+        public virtual string ThreeLetterWindowsRegionName { get { throw new NotImplementedException(); } }
+    }
+
+    public partial class SortKey
+    {
+        internal SortKey() { throw new NotImplementedException(); }
+    }
+
+    public sealed partial class SortVersion : System.IEquatable<System.Globalization.SortVersion>
+    {
+        public SortVersion(int fullVersion, System.Guid sortId) { throw new NotImplementedException(); }
+        public int FullVersion { get { throw new NotImplementedException(); } }
+        public System.Guid SortId { get { throw new NotImplementedException(); } }
+        public bool Equals(System.Globalization.SortVersion other) { throw new NotImplementedException(); }
+        public override bool Equals(object obj) { throw new NotImplementedException(); }
+        public override int GetHashCode() { throw new NotImplementedException(); }
+        public static bool operator ==(System.Globalization.SortVersion left, System.Globalization.SortVersion right) { throw new NotImplementedException(); }
+        public static bool operator !=(System.Globalization.SortVersion left, System.Globalization.SortVersion right) { throw new NotImplementedException(); }
+    }
+
+    public partial class TextInfo : System.ICloneable, System.Runtime.Serialization.IDeserializationCallback 
+    {
+        public virtual int ANSICodePage { get { throw new NotImplementedException(); } }
+        public virtual int EBCDICCodePage { get { throw new NotImplementedException(); } }
+        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+        public int LCID { get { throw new NotImplementedException(); } }
+        public virtual int MacCodePage { get { throw new NotImplementedException(); } }
+        public virtual int OEMCodePage { get { throw new NotImplementedException(); } }
+        public string ToTitleCase(string str) { throw new NotImplementedException(); }
+    }
+}
\ No newline at end of file
index 0cc318662c2f9a5535f7e724d4fe3529c9fce659..e3308dc4f89304dd4c11b4737d342e16fa067b5d 100644 (file)
@@ -20,7 +20,7 @@ namespace System.Globalization {
 
     [System.Runtime.InteropServices.ComVisible(true)]
     [Serializable]
-    public class SortKey
+    public partial class SortKey
     {
         //--------------------------------------------------------------------//
         //                        Internal Information                        //
index 815a33af1f8c9d9b3b57b43bd81cc020383ccf4f..ef5b85c8f8cf705558e6dccae563c203fd95c766 100644 (file)
@@ -29,7 +29,7 @@ namespace System.Globalization {
 
     [Serializable]
     [System.Runtime.InteropServices.ComVisible(true)]
-    public class TextInfo : ICloneable, IDeserializationCallback
+    public partial class TextInfo : ICloneable, IDeserializationCallback
     {
         //--------------------------------------------------------------------//
         //                        Internal Information                        //
index 24b86c1bc9a509a53b641de9f24a9954de26cb58..2a9aa8c32f7fc9894c314c9ff8a0a9264a44f559 100644 (file)
@@ -305,6 +305,7 @@ namespace System.Text
             return new String(cBuffer, 0, iLength);
         }
 
+#if !FEATURE_CORECLR
         [System.Security.SecurityCritical]  // auto-generated
         [MethodImplAttribute(MethodImplOptions.InternalCall)]
         unsafe private static extern int nativeNormalizationNormalizeString(
@@ -323,5 +324,27 @@ namespace System.Text
         [DllImport(JitHelpers.QCall, CharSet = CharSet.Unicode)]
         unsafe private static extern void nativeNormalizationInitNormalization(
             NormalizationForm normForm, byte* pTableData);
+#else
+        unsafe private static int nativeNormalizationNormalizeString(
+            NormalizationForm normForm, ref int iError,
+            String lpSrcString, int cwSrcLength,
+            char[] lpDstString, int cwDstLength)
+        {
+            throw new NotImplementedException();
+        }
+
+        unsafe private static bool nativeNormalizationIsNormalizedString(
+            NormalizationForm normForm, ref int iError,
+            String lpString, int cwLength)
+        {
+            throw new NotImplementedException();
+        }
+
+        unsafe private static void nativeNormalizationInitNormalization(
+            NormalizationForm normForm, byte* pTableData)
+        {
+            throw new NotImplementedException();
+        }
+#endif
     }
 }
index 9df4c6dccc06ebbb1b1ab93db29095335c5320c0..c8375d55bb445d5bdd54cc11c1274229df865e27 100644 (file)
@@ -1442,9 +1442,9 @@ FCFuncStart(gCompareInfoFuncs)
     QCFuncElement("InternalCompareString", COMNlsInfo::InternalCompareString)
     QCFuncElement("InternalFindNLSStringEx", COMNlsInfo::InternalFindNLSStringEx)
     QCFuncElement("NativeInternalInitSortHandle", COMNlsInfo::InternalInitSortHandle)
-#ifndef FEATURE_CORECLR
     QCFuncElement("InternalIsSortable", COMNlsInfo::InternalIsSortable)
     QCFuncElement("InternalGetSortKey", COMNlsInfo::InternalGetSortKey)
+#ifndef FEATURE_CORECLR
     QCFuncElement("InternalGetSortVersion", COMNlsInfo::InternalGetSortVersion)
     QCFuncElement("InternalGetNlsVersionEx", COMNlsInfo::InternalGetNlsVersionEx)
 #endif