Skip to content

Conversation

@dotnet-bot
Copy link
Collaborator

This is an automatically generated pull request from main into features/rename_ui_rework.

Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯

Troubleshooting conflicts

Identify authors of changes which introduced merge conflicts

Scroll to the bottom, then for each file containing conflicts copy its path into the following searches:

Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts.

Resolve merge conflicts using your local repo

Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub.

git fetch --all
git checkout -t upstream/merges/main-to-features/rename_ui_rework
git reset --hard upstream/features/rename_ui_rework
git merge upstream/main
# Fix merge conflicts
git commit
git push upstream merges/main-to-features/rename_ui_rework --force

dotnet-bot and others added 30 commits January 10, 2022 11:41
…to-main-vs-deps

Merge release/dev17.1-vs-deps to main-vs-deps
…0-8386f2c611ce

Localized file check-in by OneLocBuild Task: Build definition ID 327: Build ID 1545084
This change operates under the assumption that neither the starting
state nor the final state include any cycles. By removing all project
references from projects that change their reference sets prior to other
work, we ensure extraneous references cannot lead to an invalid
intermediate state.

This increases the amount of work required to complete an incremental
update when project references change, but does not impact the more
common updates where all project references are unchanged.

Fixes #52578
Update proximity expression tests to cover top level statements
…to-main-vs-deps

Merge release/dev17.1-vs-deps to main-vs-deps
Fix code generation to add default constraint when needed
Co-authored-by: Charles Stoner <10732005+cston@users.noreply.github.com>
Update CSharpUseTupleSwapCodeFixProvider for top-level statements
* Remove dependency on Workspace

* Annotate codegen source, add missing CancellationTokens

* Eliminate optional params

* Pass language version instead of ParseOptions

* CodeGenerationContext

* LanguageVersion passing

* Remove CodeGenerator document-specific CodeGenerator helpers

* Cleanup

* CodeGenerationPreferences

* Fixes

* Feedback

* Generic CodeGenOptions

* Split file

* Update Public API

* Fix

* Fix

* Fixes

* Fix

* Fix
Better parse when lambda expressions contain default parameter values.
333fred and others added 17 commits January 20, 2022 01:43
Co-authored-by: Youssef Victor <youssefvictor00@gmail.com>
Enable CA1822 in Visual Studio layer
…58915)

Issue:
- Evaluating + expanding `Array myArray = Array.CreateInstance(typeof(int), new int[1] { 12 }, new int[1] { 1 });` while debugging crashes Visual Studio.

Changes:
1. ArrayExpansion:
- Lower bounds correction wasn't being done for 1D arrays, so add it.
- This can't really be tested in C#/VB since Array.CreateInstance with 1D params can't be cast to a 1D array (see Remarks here: https://docs.microsoft.com/en-us/dotnet/api/system.array.createinstance#system-array-createinstance(system-type-system-int32()-system-int32())
- Corner case, will add tests on debugger side.

Co-authored-by: Ramkumar Ramesh <ramram@microsoft.com>
* Move reading HideAdvancedMembers option up

* CodeActionOptions
Port CSharpCodeActions and CSharpFindReferences to the new test harness
Add Analyzers layer to CODEOWNERS
Update to ICSharpCode.Decompiler 7.1.0.6543
#58657 was also a fix for 58514, by forcing the compiler to spill sequences in this scenario as well. This just adds tests to verify the scenario is addressed.

Fixes #58514.
* Fix ParseVBErrorOrWarning

* Update Vbc.cs

* internal -> private

* Added test to verify error reporting from the VB compiler.

Verifies the text used for Microsoft.Build.Tasks.CodeAnalysis.UnitTests.CheckErrorAndWarningParsing.

* Added test to verify that column numbers insert correctly.

ErrorLoggerEngine was added to capture the parse results as produced by Microsoft.Build.Shared.EventArgsFormatting.

* Needs a space between the end parenthesis and the colon.

* Update ErrorLoggerEngine.cs

* Update Vbc.cs

* Update VbcTests.cs

* Make internal and fix spanish test failure

* Address feedback

Co-authored-by: Adam Biser <adambiser@gmail.com>
Co-authored-by: Julien Couvreur <julien.couvreur@gmail.com>
@dotnet-bot dotnet-bot requested review from a team as code owners January 21, 2022 00:02
@dotnet-bot dotnet-bot requested a review from a team January 21, 2022 00:02
@dotnet-bot dotnet-bot added Area-Infrastructure auto-merge Merge Conflicts There are merge conflicts with the base branch. labels Jan 21, 2022
@dotnet-bot
Copy link
Collaborator Author

⚠ This PR has merge conflicts. @ryzngard

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approval

@dotnet-bot dotnet-bot merged commit 7faeb50 into features/rename_ui_rework Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Infrastructure auto-merge Merge Conflicts There are merge conflicts with the base branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.