dotnet/roslyn
Abstract properties are printed twice in C# Interactive
オープン
#18,032 opened on 2017/03/21
Area-InteractiveInteractive-ScriptingLogichelp wanted
Repository metrics
- Stars
- (20,414 個のスター)
- PR merge metrics
- (平均マージ 6d 17h) (30d で 256 merged PRs)
説明
Version Used: VS2017 RTW
Steps to Reproduce:
Paste this code into C# Interactive window
abstract class B {
public abstract int P { get; }
}
class C : B {
public override int P => 0;
}
new C()
Expected Behavior:
Output equals:
Submission#0.C { P=0 }
Actual Behavior:
Submission#0.C { P=0, P=0 }