dotnet/roslyn
Vedi su GitHubMicrosoft.CodeAnalysis.VisualBasic.SymbolDisplay.ToDisplayString() returns "this[]" for C# indexer
Open
#14.684 aperta il 22 ott 2016
Area-CompilersBughelp wanted
Metriche repository
- Star
- (20.414 star)
- Metriche merge PR
- (Merge medio 6g 17h) (256 PR mergiate in 30 g)
Descrizione
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.