Repository navigation
Fix to #20612 - Throw helpful translation exception for String.Equals(String, StringComparison) - #20663
Merged
Conversation
maumar
force-pushed
the
better_exceptions
branch
from
April 16, 2020 22:13
d60c77c to
a9c4577
Compare
smitpatel
reviewed
Apr 16, 2020
smitpatel
reviewed
Apr 16, 2020
smitpatel
reviewed
Apr 16, 2020
roji
reviewed
Apr 16, 2020
maumar
force-pushed
the
better_exceptions
branch
from
April 20, 2020 04:04
a9c4577 to
75d4d6d
Compare
smitpatel
reviewed
Apr 27, 2020
smitpatel
reviewed
Apr 27, 2020
smitpatel
reviewed
Apr 27, 2020
smitpatel
reviewed
Apr 27, 2020
smitpatel
left a comment
Contributor
There was a problem hiding this comment.
Add a test where both the errors are happening in same expression so we see results of concatenation.
Also paste output of each error and combination in PR so we can see what exactly user will see.
maumar
force-pushed
the
better_exceptions
branch
from
April 27, 2020 22:08
75d4d6d to
e7e740d
Compare
maumar
commented
Apr 27, 2020
Contributor
Author
|
@smitpatel new version up |
maumar
force-pushed
the
better_exceptions
branch
2 times, most recently
from
April 27, 2020 23:57
93acd74 to
326b684
Compare
Contributor
Author
|
ping |
Contributor
|
Rebase? |
Contributor
Author
|
@smitpatel done |
smitpatel
reviewed
May 7, 2020
smitpatel
reviewed
May 7, 2020
smitpatel
reviewed
May 7, 2020
smitpatel
reviewed
May 7, 2020
smitpatel
reviewed
May 7, 2020
smitpatel
reviewed
May 7, 2020
Member
|
@maumar here is a fwlink instead of aka.ms format (thanks @smitpatel) https://go.microsoft.com/fwlink/?linkid=2129535 |
Contributor
Author
|
ready again @smitpatel |
smitpatel
reviewed
May 12, 2020
smitpatel
reviewed
May 12, 2020
smitpatel
reviewed
May 12, 2020
smitpatel
reviewed
May 12, 2020
Contributor
|
Also add member not mapped for indexer properties. |
smitpatel
reviewed
May 12, 2020
smitpatel
reviewed
May 12, 2020
smitpatel
reviewed
May 12, 2020
smitpatel
reviewed
May 12, 2020
smitpatel
reviewed
May 12, 2020
smitpatel
reviewed
May 12, 2020
…(String, StringComparison) Adding state to ExpressionTranslatingExpressionVisitor that stores the information about why translation failed. The information is bubbled up and added to the "translation failed" exception. Currently only doing this for string.Equals and non-mapped member properties
smitpatel
approved these changes
May 13, 2020
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding state to ExpressionTranslatingExpressionVisitor that stores the information about why translation failed. The information is bubbled up and added to the "translation failed" exception.
Currently only doing this for string.Equals and non-mapped member properties