Skip to content

Commit

Permalink
Remove IBoundSwitchStatement (#59516)
Browse files Browse the repository at this point in the history
  • Loading branch information
alrz authored Feb 14, 2022
1 parent f52633c commit 2d61349
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@

namespace Microsoft.CodeAnalysis.CSharp
{
internal partial class BoundSwitchStatement : IBoundSwitchStatement
internal partial class BoundSwitchStatement
{
BoundNode IBoundSwitchStatement.Value => this.Expression;
ImmutableArray<BoundStatementList> IBoundSwitchStatement.Cases => StaticCast<BoundStatementList>.From(this.SwitchSections);

public BoundDecisionDag GetDecisionDagForLowering(CSharpCompilation compilation)
{
BoundDecisionDag decisionDag = this.ReachabilityDecisionDag;
Expand Down
14 changes: 0 additions & 14 deletions src/Compilers/CSharp/Portable/BoundTree/IBoundSwitchStatement.cs

This file was deleted.

0 comments on commit 2d61349

Please sign in to comment.