Skip to content

Commit

Permalink
System.IO.Pipelines.PipeReader: Fix TryRead summary (#49603)
Browse files Browse the repository at this point in the history
Add missing 'from' to the summary for TryRead.
  • Loading branch information
mycroes authored Mar 17, 2021
1 parent 7b500a4 commit 0f64b26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public abstract partial class PipeReader
{
private PipeReaderStream? _stream;

/// <summary>Attempts to synchronously read data the <see cref="System.IO.Pipelines.PipeReader" />.</summary>
/// <summary>Attempts to synchronously read data from the <see cref="System.IO.Pipelines.PipeReader" />.</summary>
/// <param name="result">When this method returns <see langword="true" />, this value is set to a <see cref="System.IO.Pipelines.ReadResult" /> instance that represents the result of the read call; otherwise, this value is set to <see langword="default" />.</param>
/// <returns><see langword="true" /> if data was available, or if the call was canceled or the writer was completed; otherwise, <see langword="false" />.</returns>
/// <remarks>If the pipe returns <see langword="false" />, there is no need to call <see cref="System.IO.Pipelines.PipeReader.AdvanceTo(System.SequencePosition,System.SequencePosition)" />.</remarks>
Expand Down

0 comments on commit 0f64b26

Please sign in to comment.