summaryrefslogtreecommitdiff
path: root/src/mscorlib/shared/System/Reflection/SignatureGenericMethodParameterType.cs
blob: d0790283fb0ad2d8369364f7d917d48ce093fc87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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.

namespace System.Reflection
{
    internal sealed class SignatureGenericMethodParameterType : SignatureGenericParameterType
    {
        internal SignatureGenericMethodParameterType(int position)
            : base(position)
        {
        }

        public sealed override bool IsGenericTypeParameter => false;
        public sealed override bool IsGenericMethodParameter => true;
    
        public sealed override string Name => "!!" + GenericParameterPosition;
    }
}