EnC - Tests for lambda improvements#55224
Merged
davidwengier merged 27 commits intodotnet:mainfrom Aug 30, 2021
Merged
Conversation
Member
Author
cston
reviewed
Aug 5, 2021
src/Compilers/CSharp/Test/Emit/Emit/EditAndContinue/EditAndContinueTests.cs
Show resolved
Hide resolved
cston
approved these changes
Aug 5, 2021
tmat
reviewed
Aug 5, 2021
src/EditorFeatures/TestUtilities/EditAndContinue/EditAndContinueTestHelpers.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Aug 5, 2021
| "Update [a]@22 -> [[A]a]@35"); | ||
|
|
||
| GetTopEdits(edits).VerifyRudeDiagnostics( | ||
| Diagnostic(RudeEditKind.ChangingAttributesNotSupportedByRuntime, "([A]a)", FeaturesResources.method), |
Member
tmat
reviewed
Aug 5, 2021
src/Compilers/CSharp/Test/Emit/Emit/EditAndContinue/EditAndContinueTests.cs
Show resolved
Hide resolved
davidwengier
commented
Aug 12, 2021
src/Compilers/CSharp/Portable/Symbols/Synthesized/RefKindVector.cs
Outdated
Show resolved
Hide resolved
Member
Author
|
@cston @tmat @RikkiGibson PTAL There are a lot of updates since you last looked, especially in the compiler. I used the same patterns as used for anonymous types, but there is a lot of context about what each bit is doing that I may have inferred incorrectly. |
tmat
reviewed
Aug 17, 2021
tmat
reviewed
Aug 17, 2021
tmat
reviewed
Aug 18, 2021
src/Compilers/CSharp/Portable/Symbols/AnonymousTypes/AnonymousTypeManager.Templates.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Aug 18, 2021
src/Compilers/CSharp/Portable/Symbols/AnonymousTypes/AnonymousTypeManager.Templates.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Aug 23, 2021
src/Compilers/CSharp/Portable/Symbols/Synthesized/RefKindVector.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Aug 23, 2021
src/Compilers/CSharp/Portable/Symbols/Synthesized/GeneratedNames.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Aug 23, 2021
src/Compilers/CSharp/Portable/Symbols/Synthesized/GeneratedNames.cs
Outdated
Show resolved
Hide resolved
RikkiGibson
reviewed
Aug 25, 2021
Member
RikkiGibson
left a comment
There was a problem hiding this comment.
Looks good, just had some minor comments and questions
src/Compilers/CSharp/Portable/Symbols/AnonymousTypes/AnonymousTypeManager.Templates.cs
Outdated
Show resolved
Hide resolved
| return "<>p__" + StringExtensions.GetNumeral(uniqueId); | ||
| } | ||
|
|
||
| internal const string ActionDelegateNamePrefix = "<>A"; |
Member
There was a problem hiding this comment.
@cston is this the best way to make this area aware of how to identify synthesized delegates?
src/Compilers/CSharp/Portable/Symbols/Synthesized/GeneratedNames.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Symbols/Synthesized/RefKindVector.cs
Outdated
Show resolved
Hide resolved
Member
Author
|
Thanks @RikkiGibson, updates have been made. |
cston
reviewed
Aug 26, 2021
cston
reviewed
Aug 26, 2021
src/Compilers/CSharp/Portable/Symbols/Synthesized/GeneratedNames.cs
Outdated
Show resolved
Hide resolved
cston
reviewed
Aug 26, 2021
src/Compilers/CSharp/Portable/Symbols/Synthesized/RefKindVector.cs
Outdated
Show resolved
Hide resolved
cston
reviewed
Aug 26, 2021
src/Compilers/CSharp/Portable/Symbols/Synthesized/GeneratedNames.cs
Outdated
Show resolved
Hide resolved
cston
approved these changes
Aug 26, 2021
RikkiGibson
approved these changes
Aug 30, 2021
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.
C# 10 Lambda improvements:
/cc @cston in case I missed any improvements or important scenarios.