-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release/9.0-rc1] Fallback to treating as object if not collection (#…
…106517) * Fallback to treating as object if not collection The reflection binder will fallback if a type does not meet collection heuristics, but the source generator did not. * Fix UnsupportedTypes test * Update collection to object fallback condition This matches what the refelction binder does, and fixes the baseline diffs (and diagnostics changes) we were seeing for unsupported collection types. * Refactor fallback from collection to object mode --------- Co-authored-by: Eric StJohn <ericstj@microsoft.com>
- Loading branch information
1 parent
e4335df
commit 63c9565
Showing
3 changed files
with
68 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters