blob: 5f2d9b5c8af017daee16e8b30e70e182a0444ac9 (
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
|
// 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
{
public partial class FunctionPointerType
{
public override bool IsRuntimeDeterminedSubtype
{
get
{
if (_signature.ReturnType.IsRuntimeDeterminedSubtype)
return true;
for (int i = 0; i < _signature.Length; i++)
if (_signature[i].IsRuntimeDeterminedSubtype)
return true;
return false;
}
}
public override TypeDesc GetNonRuntimeDeterminedTypeFromRuntimeDeterminedSubtypeViaSubstitution(Instantiation typeInstantiation, Instantiation methodInstantiation)
{
Debug.Assert(false);
return this;
}
}
}
|