Skip to content

Rc2 doc comments #4908

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 31 commits into from
Sep 24, 2020
Merged

Conversation

carlossanlop
Copy link
Contributor

Summary

Describe your changes here.

Fixes #Issue_Number (if available)

carlossanlop and others added 30 commits September 23, 2020 18:26
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
* Add Missing System.Diagnostics docs

* Apply suggestions from code review

Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>

Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
* Automatically port System.Diagnostics docs for RC2

* Update xml/System.Diagnostics/ActivitySamplingResult.xml

Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>

* Update xml/System.Diagnostics/Process.xml

Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
* Automatic port of RegexParse* documentation

* Update xml/System.Text.RegularExpressions/RegexParseError.xml

* Apply suggestions from code review

* Update RegexParseException

* Update xml/System.Text.RegularExpressions/RegexParseException.xml

* Update xml/System.Text.RegularExpressions/RegexParseException.xml

Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
Co-authored-by: Prashanth Govindarajan <prgovi@microsoft.com>
* Add ssl API added between preview 7 and 8

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

* Update xml/System.Net.Security/SslStream.xml

* Apply @wfurt comments

* Add missing remark headers

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

Co-authored-by: Jan Jahoda <jajahoda@.microsoft.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
…otnet#4861)

* Documentation for System.Net.Http.SocketsHttpHandler.ConnectCallback

* Apply PR comments

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

Co-authored-by: Jan Jahoda <jajahoda@.microsoft.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
* Add a remark to AddEvent method

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
* Automatic port of *PipeServerStreamAcl docs

* Apply suggestions from code review

Co-authored-by: Prashanth Govindarajan <prgovi@microsoft.com>
Co-authored-by: David Cantú <dacantu@microsoft.com>

* Apply suggestions from code review

Co-authored-by: David Cantú <dacantu@microsoft.com>

* Apply suggestions from code review

* Update xml/System.IO.Pipes/AnonymousPipeServerStreamAcl.xml

* Update xml/System.IO.Pipes/AnonymousPipeServerStreamAcl.xml

Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
Co-authored-by: Prashanth Govindarajan <prgovi@microsoft.com>
Co-authored-by: David Cantú <dacantu@microsoft.com>
* Automatic port of *OSPlatformAttribute docs

* Missing TargetPlatformAttribute constructor parameter description.

* Apply suggestions from code review

Co-authored-by: Buyaa <buyankhishig.namnan@microsoft.com>

* Update xml/System.Runtime.Versioning/SupportedOSPlatformAttribute.xml

Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
Co-authored-by: Buyaa <buyankhishig.namnan@microsoft.com>
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
* Document Half.op_Explicit APIs

* Equals

Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
* Add missing documentation for S.S.Cryptography

* Apply feedback
…et#4887)

* Automatic port of System.Threading.ExecutionContext.Restore doc

* Update xml/System.Threading/ExecutionContext.xml

Co-authored-by: Prashanth Govindarajan <prgovi@microsoft.com>

* Apply suggestions from code review

Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
Co-authored-by: Prashanth Govindarajan <prgovi@microsoft.com>
…p.HttpRequestOptions (dotnet#4881)

* Automatic port of explicit interface implementations for System.Net.Http.HttpRequestOptions

* Apply suggestions from code review

Co-authored-by: Jan Jahoda <aik.jahoda@post.cz>

Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
Co-authored-by: Jan Jahoda <aik.jahoda@post.cz>
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
* Sync docs with source comments

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

* Add values

Co-authored-by: Jan Jahoda <jajahoda@.microsoft.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
* Draft for @ManickaP

* Apply suggestions from code review

Co-authored-by: Marie Píchová <11718369+ManickaP@users.noreply.github.com>

* Format verification

* Format verification

* Fix links

* Fix links

* Fix xml tag

* Fix links

* Fix links

* Fix links

* Apply suggestions from code review

Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>

* Fix links

* Add CreateContentReadStream

* Fix links

* Add System.Net.Http.DelegatingHandler.Send

* Fix links

* Apply suggestions from code review

Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>

* Remove "Synchronous" information from summary

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>

* Fix the  exception description

Co-authored-by: Jan Jahoda <jajahoda@.microsoft.com>
Co-authored-by: Marie Píchová <11718369+ManickaP@users.noreply.github.com>
Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
…Unsafe (dotnet#4902)

* adding docs for missing 5.0 apis

* Apply suggestions from code review

Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
* System.Net.Http.SocketsHttpHandler.EnableMultipleHttp2Connections

* Add Sysytem.Net.\* missing API

* Apply PR comments

* Apply suggestions from code review

* Apply suggestions from code review

* Update xml/System.Net.Http/SocketsHttpHandler.xml

Co-authored-by: Jan Jahoda <jajahoda@.microsoft.com>
Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
* Add the http sync follow up

* Fix closing tag

Co-authored-by: Jan Jahoda <jajahoda@.microsoft.com>
@@ -3097,14 +3107,24 @@ Use <xref:System.Globalization.CompareInfo.GetSortKeyLength(System.ReadOnlySpan{
<Parameter Name="matchLength" Type="System.Int32" RefType="out" Index="3" FrameworkAlternate="net-5.0" />
</Parameters>
<Docs>
<param name="source">To be added.</param>
<param name="suffix">To be added.</param>
Copy link
Contributor

Choose a reason for hiding this comment

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

Here's the weird line where the latest CI job showed a suffix parameter.

Copy link
Contributor

@gewarren gewarren Sep 24, 2020

Choose a reason for hiding this comment

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

@joelmartinez We're a bit confused why mdoc didn't realize the suffix parameter was renamed to prefix, and instead just added prefix as an additional parameter. The deletion of suffix here is something I did manually. The method was added in .NET 5 RC1 and the parameter name changed in .NET 5 RC2.

Copy link
Contributor

Choose a reason for hiding this comment

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

@gewarren mdoc will remake the Parameter elements because those come directly from the metadata so it remakes them every time ... but in general it's a bit more tentative with removing elements in the Docs node, because those can contain user-written content, so in cases like this it's best just to adjust manually as you've done here

Copy link
Contributor

Choose a reason for hiding this comment

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

Would that even have shown up in the rendered page if I hadn't removed it?

Copy link
Contributor

Choose a reason for hiding this comment

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

@gewarren no I believe it wouldn't, because the rendering is driven by the Parameter entries ... it also shouldn't affect the intellisense, because it would just kind of be ignored, so even if we leave it it wouldn't be world-ending :)

@opbld31
Copy link

opbld31 commented Sep 24, 2020

Docs Build status updates of commit 1baf681:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Buffers/ReadOnlySequence`1.xml ✅Succeeded View
xml/System.Buffers/SequenceReader`1.xml ✅Succeeded View
xml/System.Collections.Generic/CollectionExtensions.xml ✅Succeeded View
xml/System.Collections.Generic/LinkedListNode`1.xml ✅Succeeded View
xml/System.Data.Common/DbTransaction.xml ✅Succeeded View
xml/System.Diagnostics/Activity.xml ✅Succeeded View
xml/System.Diagnostics/ActivityContext.xml ✅Succeeded View
xml/System.Diagnostics/ActivityCreationOptions`1.xml ✅Succeeded View
xml/System.Diagnostics/ActivityListener.xml ✅Succeeded View
xml/System.Diagnostics/ActivitySamplingResult.xml ✅Succeeded View
xml/System.Diagnostics/Process.xml ✅Succeeded View
xml/System.Diagnostics/SampleActivity`1.xml ✅Succeeded View
xml/System.Formats.Asn1/AsnContentException.xml ✅Succeeded View
xml/System.Globalization/CompareInfo.xml ✅Succeeded View
xml/System.IO.Pipes/AnonymousPipeServerStreamAcl.xml ✅Succeeded View
xml/System.IO.Pipes/NamedPipeServerStreamAcl.xml ✅Succeeded View
xml/System.Net.Http/ByteArrayContent.xml ✅Succeeded View
xml/System.Net.Http/DelegatingHandler.xml ✅Succeeded View
xml/System.Net.Http/HeaderEncodingSelector`1.xml ✅Succeeded View
xml/System.Net.Http/HttpClient.xml ✅Succeeded View
xml/System.Net.Http/HttpClientHandler.xml ✅Succeeded View
xml/System.Net.Http/HttpContent.xml ✅Succeeded View
xml/System.Net.Http/HttpKeepAlivePingPolicy.xml ✅Succeeded View
xml/System.Net.Http/HttpMessageHandler.xml ✅Succeeded View
xml/System.Net.Http/HttpMessageInvoker.xml ✅Succeeded View
xml/System.Net.Http/HttpRequestMessage.xml ✅Succeeded View
xml/System.Net.Http/HttpRequestOptions.xml ✅Succeeded View
xml/System.Net.Http/HttpVersionPolicy.xml ✅Succeeded View
xml/System.Net.Http/MessageProcessingHandler.xml ✅Succeeded View
xml/System.Net.Http/MultipartContent.xml ✅Succeeded View
xml/System.Net.Http/ReadOnlyMemoryContent.xml ✅Succeeded View
xml/System.Net.Http/SocketsHttpConnectionContext.xml ✅Succeeded View
xml/System.Net.Http/SocketsHttpHandler.xml ✅Succeeded View
xml/System.Net.Http/StreamContent.xml ✅Succeeded View
xml/System.Net.Http/WinHttpHandler.xml ✅Succeeded View
xml/System.Net.Security/ServerOptionsSelectionCallback.xml ✅Succeeded View
xml/System.Net.Security/SslClientHelloInfo.xml ✅Succeeded View
xml/System.Net.Security/SslServerAuthenticationOptions.xml ✅Succeeded View
xml/System.Net.Security/SslStream.xml ✅Succeeded View
xml/System.Net.Security/SslStreamCertificateContext.xml ✅Succeeded View
xml/System.Net.Sockets/SocketTaskExtensions.xml ✅Succeeded View
xml/System.Net.Sockets/TcpClient.xml ✅Succeeded View
xml/System.Reflection.Metadata/SignatureCallingConvention.xml ✅Succeeded View
xml/System.Reflection/MethodInfo.xml ✅Succeeded View
xml/System.Runtime.CompilerServices/CppInlineNamespaceAttribute.xml ✅Succeeded View
xml/System.Runtime.CompilerServices/ModuleInitializerAttribute.xml ✅Succeeded View
xml/System.Runtime.CompilerServices/PreserveBaseOverridesAttribute.xml ✅Succeeded View
xml/System.Runtime.CompilerServices/SkipLocalsInitAttribute.xml ✅Succeeded View
xml/System.Runtime.CompilerServices/Unsafe.xml ✅Succeeded View
xml/System.Runtime.Versioning/SupportedOSPlatformAttribute.xml ✅Succeeded View

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@carlossanlop carlossanlop merged commit 0ae4e98 into dotnet:release-net5-rc2 Sep 24, 2020
@eiriktsarpalis eiriktsarpalis added the area-Meta Concerns something that extends across runtime area boundaries, for example, IDisposable. label Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Meta Concerns something that extends across runtime area boundaries, for example, IDisposable.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants