Allow parameter renames in Edit and Continue#54856
Merged
davidwengier merged 15 commits intodotnet:mainfrom Aug 10, 2021
Merged
Allow parameter renames in Edit and Continue#54856davidwengier merged 15 commits intodotnet:mainfrom
davidwengier merged 15 commits intodotnet:mainfrom
Conversation
00771cc to
95b2551
Compare
27c9822 to
5705a3b
Compare
fb75822 to
93aa07c
Compare
Member
Author
|
@tmat PTAL Now that the other PR is in, this is pretty straight forward |
tmat
reviewed
Jul 28, 2021
src/Compilers/CSharp/Test/Emit/Emit/EditAndContinue/EditAndContinueTests.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Jul 28, 2021
src/Compilers/CSharp/Test/Emit/Emit/EditAndContinue/EditAndContinueTests.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Jul 28, 2021
src/Compilers/CSharp/Test/Emit/Emit/EditAndContinue/EditAndContinueTests.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Jul 28, 2021
src/Compilers/CSharp/Test/Emit/Emit/EditAndContinue/EditAndContinueTests.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Jul 28, 2021
src/EditorFeatures/CSharpTest/EditAndContinue/StatementEditingTests.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Jul 28, 2021
src/Features/Core/Portable/EditAndContinue/AbstractEditAndContinueAnalyzer.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Jul 28, 2021
src/Features/Core/Portable/EditAndContinue/AbstractEditAndContinueAnalyzer.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Jul 30, 2021
src/EditorFeatures/VisualBasicTest/EditAndContinue/TopLevelEditingTests.vb
Outdated
Show resolved
Hide resolved
tmat
reviewed
Jul 30, 2021
src/Features/Core/Portable/EditAndContinue/AbstractEditAndContinueAnalyzer.cs
Show resolved
Hide resolved
tmat
reviewed
Jul 30, 2021
src/Features/Core/Portable/EditAndContinue/AbstractEditAndContinueAnalyzer.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Jul 30, 2021
src/Features/Core/Portable/EditAndContinue/AbstractEditAndContinueAnalyzer.cs
Outdated
Show resolved
Hide resolved
Hard to get type information otherwise 🤦♂️
Member
Author
|
Worked out my symbol issues, the tests were bad and I feel bad. Updated with all feedback addressed now. |
tmat
reviewed
Aug 4, 2021
|
|
||
| CheckNames(readers, reader2.GetTypeDefNames()); | ||
| CheckNames(readers, reader2.GetMethodDefNames(), "F"); | ||
| CheckNames(readers, reader2.GetParameterDefNames(), "", "arg"); |
Member
tmat
reviewed
Aug 4, 2021
src/Compilers/VisualBasic/Test/Emit/Emit/EditAndContinue/EditAndContinueTests.vb
Outdated
Show resolved
Hide resolved
tmat
reviewed
Aug 4, 2021
src/EditorFeatures/CSharpTest/EditAndContinue/StatementMatchingTests.cs
Outdated
Show resolved
Hide resolved
tmat
reviewed
Aug 4, 2021
tmat
reviewed
Aug 4, 2021
Member
Author
|
Ping @dotnet/roslyn-compiler for a second review |
Member
|
@RikkiGibson PTAL |
RikkiGibson
approved these changes
Aug 10, 2021
|
|
||
| // signature validation: | ||
| if (!ParametersEquivalent(oldLambdaSymbol.Parameters, newLambdaSymbol.Parameters, exact: false)) | ||
| if (!ParameterTypesEquivalent(oldLambdaSymbol.Parameters, newLambdaSymbol.Parameters, exact: false)) |
Member
There was a problem hiding this comment.
I was confused by this method name. Don't we also consider a change to the parameter's ref kind a rude edit? Do we have existing tests for such scenarios?
Member
There was a problem hiding this comment.
RefKind is part of parameter type.
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.
Fixes #52563
Fixes #48635