Skip to content

Commit 54f5259

Browse files
committed
Assert
1 parent 8367c29 commit 54f5259

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_IsPatternOperator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ public BoundExpression LowerIsPatternAsLinearTestSequence(
225225
BoundIsPatternExpression isPatternExpression, LabelSymbol whenTrueLabel, LabelSymbol whenFalseLabel)
226226
{
227227
BoundDecisionDag decisionDag = isPatternExpression.DecisionDag;
228+
Debug.Assert(!decisionDag.ContainsAnySynthesizedNodes());
228229
BoundExpression loweredInput = _localRewriter.VisitExpression(isPatternExpression.Expression);
229230

230231
// The optimization of sharing pattern-matching temps with user variables can always apply to

0 commit comments

Comments
 (0)