Skip to content

Commit

Permalink
Comment out unimplemented switch case in ResultValueWalker
Browse files Browse the repository at this point in the history
The code previously threw a NotImplementedException for the SwitchExpressionSyntax case in the ResultValueWalker. This change comments out that case for now, to prevent the exception from being triggered. It appears the functionality for SwitchExpressionSyntax is not implemented yet.
  • Loading branch information
AlmarAubel committed Mar 30, 2024
1 parent c0bc713 commit 14b6018
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ private CheckResult DetermineCheckResult(ExpressionSyntax condition)
{
RecursivePatternSyntax recursivePatternSyntax => CheckedRecusivePattern(recursivePatternSyntax),
};
case SwitchExpressionSyntax switchExpressionSyntax:
throw new NotImplementedException();
// case SwitchExpressionSyntax switchExpressionSyntax:
// throw new NotImplementedException();
}

return CheckResult.Unchecked;
Expand Down

0 comments on commit 14b6018

Please sign in to comment.