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

GenericParameterDesc.RuntimeDetermined.cs « RuntimeDetermined « TypeSystem « Common « tools « coreclr « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d6540d7ae40764a0910f2f3c9e092ad8653d9136 (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
// 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 GenericParameterDesc
    {
        public sealed override bool IsRuntimeDeterminedSubtype
        {
            get
            {
                Debug.Fail("IsRuntimeDeterminedSubtype of an indefinite type");
                return false;
            }
        }

        public override TypeDesc GetNonRuntimeDeterminedTypeFromRuntimeDeterminedSubtypeViaSubstitution(Instantiation typeInstantiation, Instantiation methodInstantiation)
        {
            Debug.Assert(false);
            return this;
        }
    }
}