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

GenericParameterDesc.Diagnostic.cs « Common « TypeSystem « Common « tools « coreclr « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7e8df4304dfd5c1d484d3100fa45abd5fc8abd4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;
using System.Collections.Generic;

namespace Internal.TypeSystem
{
    public abstract partial class GenericParameterDesc
    {
        /// <summary>
        /// Gets the name of the generic parameter as defined in the metadata. This must not throw
        /// </summary>
        public virtual string DiagnosticName
        {
            get
            {
                return string.Concat("T", Index.ToStringInvariant());
            }
        }
    }
}