Skip to content

Expression.Compile: empty the evaluation stack before evaluating second expression in OrElse and AndAlso - #110721

Merged
VSadov merged 6 commits into
dotnet:mainfrom
cston:103197
Jun 24, 2026
Merged

VSadov merged 6 commits into
dotnet:mainfrom
cston:103197

Conversation

@cston

@cston cston commented Dec 15, 2024

Copy link
Copy Markdown
Contributor

Fixes #103197
Reverts commit 2ecfbbd

@cston

cston commented Dec 17, 2024

Copy link
Copy Markdown
Contributor Author

cc @jaredpar, @VSadov

@VSadov

VSadov commented Jun 24, 2026

Copy link
Copy Markdown
Member

@jcouv PTAL, fairly mechanical change, but needed some follow-up (mostly by copilot)

@jcouv jcouv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks (commit 6)

@VSadov
VSadov merged commit 37d45de into dotnet:main Jun 24, 2026
90 checks passed
@VSadov

VSadov commented Jun 24, 2026

Copy link
Copy Markdown
Member

Thanks!

@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jun 25, 2026
eiriktsarpalis pushed a commit that referenced this pull request Jul 15, 2026
…nd expression in OrElse and AndAlso (#110721)

Fixes #103197 
Reverts commit
2ecfbbd

---------

Co-authored-by: vsadov <[email protected]>
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InvalidProgramException with System.Linq.Expressions and user-defined conditional operators

3 participants