Skip to content

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

Merged
GrahamTheCoder merged 1 commit intomasterfrom
issue/786
Dec 21, 2023
Merged

Cast to dynamic when the accessed member can't be found but the surro…#1068
GrahamTheCoder merged 1 commit intomasterfrom
issue/786

Conversation

@GrahamTheCoder
Copy link
Copy Markdown
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
@GrahamTheCoder GrahamTheCoder deleted the issue/786 branch December 21, 2023 00:14
@GrahamTheCoder
Copy link
Copy Markdown
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