dotnet/roslyn

Microsoft.CodeAnalysis.VisualBasic.SymbolDisplay.ToDisplayString() returns "this[]" for C# indexer

Open

#14,684 创建于 2016年10月22日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)C# (4,257 fork)batch import
Area-CompilersBughelp wanted

仓库指标

Star
 (20,414 star)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 256 个 PR)

描述

Microsoft.CodeAnalysis.VisualBasic.SymbolDisplay.ToDisplayString() returns ReadOnly this[](Integer) As Integer rather than ReadOnly Item(Integer) As Integer for:

class C
{
    int this[int i] => i;
}

See Microsoft.CodeAnalysis.VisualBasic.UnitTests.SymbolDisplayTests.RefReturn.

贡献者指南