diff options
Diffstat (limited to 'src/Common/src/TypeSystem/IL/TypeSystemContext.GeneratedAssembly.Sorting.cs')
-rw-r--r-- | src/Common/src/TypeSystem/IL/TypeSystemContext.GeneratedAssembly.Sorting.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Common/src/TypeSystem/IL/TypeSystemContext.GeneratedAssembly.Sorting.cs b/src/Common/src/TypeSystem/IL/TypeSystemContext.GeneratedAssembly.Sorting.cs new file mode 100644 index 000000000..5c3301262 --- /dev/null +++ b/src/Common/src/TypeSystem/IL/TypeSystemContext.GeneratedAssembly.Sorting.cs @@ -0,0 +1,23 @@ +// 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; + +namespace Internal.TypeSystem +{ + partial class TypeSystemContext + { + // Functionality related to determinstic ordering of types and members + partial class CompilerGeneratedType : MetadataType + { + protected internal override int ClassCode => -1036681447; + + protected internal override int CompareToImpl(TypeDesc other, TypeSystemComparer comparer) + { + // Should be a singleton + throw new NotSupportedException(); + } + } + } +} |