diff options
author | Viktor Hofer <viktor.hofer@microsoft.com> | 2017-06-14 21:57:36 +0200 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-06-14 12:57:36 -0700 |
commit | 7f00fec141ca1b222b1c113d2de055e80728bb99 (patch) | |
tree | b47eecad4f971fc27ad6d40c6834509e1b894f9b /src/mscorlib | |
parent | 2ffe2ba52989a224a524027227509acf1735ca96 (diff) | |
download | coreclr-7f00fec141ca1b222b1c113d2de055e80728bb99.tar.gz coreclr-7f00fec141ca1b222b1c113d2de055e80728bb99.tar.bz2 coreclr-7f00fec141ca1b222b1c113d2de055e80728bb99.zip |
Renaming serializable field (#12273)
Diffstat (limited to 'src/mscorlib')
-rw-r--r-- | src/mscorlib/src/System/Globalization/CompareInfo.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mscorlib/src/System/Globalization/CompareInfo.cs b/src/mscorlib/src/System/Globalization/CompareInfo.cs index cf241a66c8..b7ab5adc13 100644 --- a/src/mscorlib/src/System/Globalization/CompareInfo.cs +++ b/src/mscorlib/src/System/Globalization/CompareInfo.cs @@ -70,7 +70,7 @@ namespace System.Globalization private string _sortName; // The name that defines our behavior. [OptionalField(VersionAdded = 3)] - private SortVersion m_sortVersion; // Do not rename (binary serialization) + private SortVersion m_SortVersion; // Do not rename (binary serialization) // _invariantMode is defined for the perf reason as accessing the instance field is faster than access the static property GlobalizationMode.Invariant [NonSerialized] @@ -1209,11 +1209,11 @@ namespace System.Globalization { get { - if (m_sortVersion == null) + if (m_SortVersion == null) { if (_invariantMode) { - m_sortVersion = new SortVersion(0, CultureInfo.LOCALE_INVARIANT, new Guid(0, 0, 0, 0, 0, 0, 0, + m_SortVersion = new SortVersion(0, CultureInfo.LOCALE_INVARIANT, new Guid(0, 0, 0, 0, 0, 0, 0, (byte) (CultureInfo.LOCALE_INVARIANT >> 24), (byte) ((CultureInfo.LOCALE_INVARIANT & 0x00FF0000) >> 16), (byte) ((CultureInfo.LOCALE_INVARIANT & 0x0000FF00) >> 8), @@ -1221,11 +1221,11 @@ namespace System.Globalization } else { - m_sortVersion = GetSortVersion(); + m_SortVersion = GetSortVersion(); } } - return m_sortVersion; + return m_SortVersion; } } |