blob: 1126e01d4020baaf3f43a4e5aea9d39f28325302 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
// 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
{
// Functionality related to deterministic ordering of types
partial class DelegateThunk
{
protected override int CompareToImpl(MethodDesc other, TypeSystemComparer comparer)
{
var otherMethod = (DelegateThunk)other;
return comparer.Compare(_delegateInfo.Type, otherMethod._delegateInfo.Type);
}
}
partial class DelegateInvokeOpenStaticThunk
{
protected override int ClassCode => 386356101;
}
public sealed partial class DelegateInvokeOpenInstanceThunk
{
protected override int ClassCode => -1787190244;
}
partial class DelegateInvokeClosedStaticThunk
{
protected override int ClassCode => 28195375;
}
partial class DelegateInvokeMulticastThunk
{
protected override int ClassCode => 639863471;
}
partial class DelegateInvokeInstanceClosedOverGenericMethodThunk
{
protected override int ClassCode => -354480633;
}
partial class DelegateInvokeObjectArrayThunk
{
protected override int ClassCode => 1993292344;
}
partial class DelegateGetThunkMethodOverride
{
protected override int ClassCode => -321263379;
protected override int CompareToImpl(MethodDesc other, TypeSystemComparer comparer)
{
var otherMethod = (DelegateGetThunkMethodOverride)other;
return comparer.Compare(_delegateInfo.Type, otherMethod._delegateInfo.Type);
}
}
}
|