Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SignatureVariable.Sorting.cs « Sorting « TypeSystem « Common « tools « coreclr « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ddfdbb065da1c0dfad899545873064b2c386b425 (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
29
30
31
32
33
34
35
36
37
38
39
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;

namespace Internal.TypeSystem
{
    // Functionality related to deterministic ordering of types
    partial class SignatureVariable
    {
        protected internal sealed override int CompareToImpl(TypeDesc other, TypeSystemComparer comparer)
        {
            return ((SignatureVariable)other).Index - Index;
        }
    }

    partial class SignatureTypeVariable
    {
        protected internal override int ClassCode
        {
            get
            {
                return 1042124696;
            }
        }
    }

    partial class SignatureMethodVariable
    {
        protected internal override int ClassCode
        {
            get
            {
                return 144542889;
            }
        }

    }
}