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

AppContextInitializerMethod.Sorting.cs « StartupCode « Stubs « IL « src « ILCompiler.Compiler « src - github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 67a2b612ca21f09dd6c065eae73d9c5d4d5e0889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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 Internal.TypeSystem;

using Debug = System.Diagnostics.Debug;

namespace Internal.IL.Stubs.StartupCode
{
    partial class AppContextInitializerMethod
    {
        protected override int ClassCode => 15749517;

        protected override int CompareToImpl(MethodDesc other, TypeSystemComparer comparer)
        {
            // Should be a singleton
            Debug.Assert(this == other);
            return 0;
        }
    }
}