Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast to dynamic when the accessed member can't be found but the surro… #1068

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

GrahamTheCoder
Copy link
Member

Fixes #786

I'm worried this may be a bit too broad and spam dynamic casts everywhere in large real codebases with some slight reference issues for example.

…unding object can - fixes #786

There's probably a more specific condition which should trigger this if we look in Roslyn code
@GrahamTheCoder GrahamTheCoder marked this pull request as ready for review December 21, 2023 00:11
@GrahamTheCoder GrahamTheCoder merged commit f5e8b38 into master Dec 21, 2023
2 checks passed
@GrahamTheCoder GrahamTheCoder deleted the issue/786 branch December 21, 2023 00:14
@GrahamTheCoder
Copy link
Member Author

Let's find out in the real world

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VB -> C#: Object/dynamic Function breaks
1 participant