dotnet/roslyn

Microsoft.CodeAnalysis.VisualBasic.SymbolDisplay.ToDisplayString() does not include ByRef for C# ParameterSymbols

Open

#14,683 opened on Oct 22, 2016

View on GitHub
 (1 comment) (1 reaction) (0 assignees)C# (4,257 forks)batch import
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 F(Integer) rather than F(ByRef Integer) for:

class C
{
    void F(ref int i) { }
}

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

Contributor guide