Skip to content

Merge main to features/required-members#58735

Merged
dotnet-bot merged 153 commits intofeatures/required-membersfrom
merges/main-to-features/required-members
Jan 9, 2022
Merged

Merge main to features/required-members#58735
dotnet-bot merged 153 commits intofeatures/required-membersfrom
merges/main-to-features/required-members

Conversation

@dotnet-bot
Copy link
Copy Markdown
Collaborator

This is an automatically generated pull request from main into features/required-members.

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/required-members
git reset --hard upstream/features/required-members
git merge upstream/main
# Fix merge conflicts
git commit
git push upstream merges/main-to-features/required-members --force

CyrusNajmabadi and others added 19 commits January 6, 2022 16:47
The only code in here is testing CommandLineProject, but that was
forwarded into Microsoft.CodeAnalysis.Workspaces awhile ago. So
after moving these tests, the project is empty.

The only thing that could be tested in
Microsoft.CodeAnalysis.Workspaces.Desktop is our MEFv1 host services,
but we already have enough implicit testing on that as it is. (Famous
last words.)
Insert casts to ensure that runtime types (And values) are not impacted when converting switch to expression
Inline Hints: Added double click on hint to insert text
Closes #57802. Implements the GetTypesByMetadataName API, which returns all named types in the current compilation and referenced assemblies that match the given CLR metatdata name. Also updates the IDE's GetBestTypeByMetadataName to use this API under the hood, rather than the existing manual walk they were doing, simplyfing that codepath and proving out the API itself.
This was causing source indexers that use this API to make projects
to break when they ironically tried to index Roslyn itself.
Move suggestion mode configuration to state reset service
…-duplicate-handling

Deduplicate references in CommandLineProject.CreateProjectInfo
… source for `ReadOnlySpan<T>`. (#58724)

There is no such operator in real type. Instead `string` type declares an implicit conversion to ```ReadOnlySpan<char>```.
Copy link
Copy Markdown

@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 d019178 into features/required-members Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.