diff options
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.CoreRT.cs')
-rw-r--r-- | src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.CoreRT.cs | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.CoreRT.cs b/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.CoreRT.cs new file mode 100644 index 000000000..d80eefb7a --- /dev/null +++ b/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.CoreRT.cs @@ -0,0 +1,37 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Globalization; +using System.Runtime.CompilerServices; +using System.Diagnostics; +using System.Runtime.Versioning; + +namespace System.Collections.Generic +{ + internal partial class ArraySortHelper<T> + { + private static readonly ArraySortHelper<T> s_defaultArraySortHelper = new ArraySortHelper<T>(); + + public static ArraySortHelper<T> Default + { + get + { + return s_defaultArraySortHelper; + } + } + } + + internal partial class ArraySortHelper<TKey, TValue> + { + private static readonly ArraySortHelper<TKey, TValue> s_defaultArraySortHelper = new ArraySortHelper<TKey, TValue>(); + + public static ArraySortHelper<TKey, TValue> Default + { + get + { + return s_defaultArraySortHelper; + } + } + } +} |