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

ValueTypeGetFieldHelperMethodOverride.Sorting.cs « Stubs « IL « TypeSystem « Common « tools « coreclr « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a650a278e24a97756e61894b61858501166a7e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using Internal.TypeSystem;

namespace Internal.IL.Stubs
{
    public partial class ValueTypeGetFieldHelperMethodOverride
    {
        protected override int ClassCode => 2036839816;

        protected override int CompareToImpl(MethodDesc other, TypeSystemComparer comparer)
        {
            var otherMethod = (ValueTypeGetFieldHelperMethodOverride)other;

            return comparer.Compare(_owningType, otherMethod._owningType);
        }
    }
}