Skip to content

Document System.String #2818

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 25, 2019
Merged

Document System.String #2818

merged 3 commits into from
Jul 25, 2019

Conversation

carlossanlop
Copy link
Contributor

These are the APIs introduced in 3.0 only. There are many more APIs that are not yet documented, we will leave them for later.

There is no explicit owner. The last people to modify the String code files in coreclr were: @GrabYourPitchforks @stephentoub @tarekgh . Can you please review the comments I added?

I based the GetPinnableReference documentation on this one: https://docs.microsoft.com/en-us/dotnet/api/system.span-1.getpinnablereference?view=netcore-3.0#System_Span_1_GetPinnableReference

Some of the APIs didn't have triple slash comments, but they did have double slash comments: https://github.com/dotnet/coreclr/blob/f537a7aa452cbebed6a6e5a23a79144619c12095/src/System.Private.CoreLib/shared/System/String.cs

The API EnumerateRunes had triple slash comments and was automatically ported in this PR: https://github.com/dotnet/dotnet-api-docs/pull/2729/files

@carlossanlop carlossanlop added new-content Indicates PRs that contain new articles waiting-on-reviews Indicates PRs that cannot be merged because of the lack of reviews 🏁 Release: .NET Core 3.0 :checkered_flag: Release: .NET Core 3.0 labels Jul 24, 2019
@carlossanlop carlossanlop self-assigned this Jul 24, 2019
@mairaw mairaw added this to the July 2019 milestone Jul 24, 2019
Copy link

@rpetrusha rpetrusha left a comment

Choose a reason for hiding this comment

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

This looks good, @carlossanlop, except for one suggestion. I'll approve now and merge once you've made the change and the build has finished.

@rpetrusha rpetrusha removed the waiting-on-reviews Indicates PRs that cannot be merged because of the lack of reviews label Jul 24, 2019
@rpetrusha
Copy link

There's also a merge conflict, @carlossanlop.

@mairaw mairaw removed their request for review July 24, 2019 23:33
@carlossanlop
Copy link
Contributor Author

@rpetrusha I applied your suggestion and resolved the merge conflict. Turns out the GetPinnableReference method had already been documented. I kept my update with an additional remark.

@carlossanlop carlossanlop added the changes-addressed Indicates PRs that had all comments addressed and are awaiting for new review label Jul 25, 2019
@rpetrusha rpetrusha merged commit 21887c1 into dotnet:master Jul 25, 2019
@carlossanlop carlossanlop deleted the String branch July 26, 2019 01:11
@mairaw mairaw removed the changes-addressed Indicates PRs that had all comments addressed and are awaiting for new review label Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏁 Release: .NET Core 3.0 :checkered_flag: Release: .NET Core 3.0 new-content Indicates PRs that contain new articles
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants