blob: 32e4db3bab9e1e7a912efe46476c93cc9d22bcf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Debug = System.Diagnostics.Debug;
namespace Internal.TypeSystem
{
// Functionality related to deterministic ordering of types
public partial class CanonBaseType
{
protected internal sealed override int CompareToImpl(TypeDesc other, TypeSystemComparer comparer)
{
// These should be singletons
Debug.Assert(this == other);
return 0;
}
}
internal partial class CanonType
{
protected internal override int ClassCode => 46114331;
}
internal partial class UniversalCanonType
{
protected internal override int ClassCode => 1687626054;
}
}
|