blob: d6675b5d4f796d804800836dfdfda02b29e9917e (
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 Debug = System.Diagnostics.Debug;
namespace Internal.TypeSystem
{
// Implements canonicalization of generic type parameters
public partial class SignatureTypeVariable
{
public override bool IsCanonicalSubtype(CanonicalFormKind policy)
{
Debug.Fail("IsCanonicalSubtype of an indefinite type");
return false;
}
protected override TypeDesc ConvertToCanonFormImpl(CanonicalFormKind kind)
{
Debug.Fail("ConvertToCanonFormImpl for an indefinite type");
return this;
}
}
// Implements canonicalization of generic method parameters
public partial class SignatureMethodVariable
{
public override bool IsCanonicalSubtype(CanonicalFormKind policy)
{
Debug.Fail("IsCanonicalSubtype of an indefinite type");
return false;
}
protected override TypeDesc ConvertToCanonFormImpl(CanonicalFormKind kind)
{
Debug.Fail("ConvertToCanonFormImpl for an indefinite type");
return this;
}
}
}
|