dotnet/roslyn
Vedi su GitHubAbstract properties are printed twice in C# Interactive
Open
#18.032 aperta il 21 mar 2017
Area-InteractiveInteractive-ScriptingLogichelp wanted
Metriche repository
- Star
- (20.414 star)
- Metriche merge PR
- (Merge medio 6g 17h) (256 PR mergiate in 30 g)
Descrizione
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 }