dotnet/roslyn
View on GitHubMicrosoft.CodeAnalysis.VisualBasic.SymbolDisplay.ToDisplayString() returns "this[]" for C# indexer
Open
#14,684 opened on Oct 22, 2016
Area-CompilersBughelp wanted
Repository metrics
- Stars
- (20,414 stars)
- PR merge metrics
- (Avg merge 6d 17h) (256 merged PRs in 30d)
Description
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.