You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Occurs when the remote party has accepted our offer of this channel.
580
580
/// </summary>
581
581
/// <param name="acceptanceParameters">The channel parameters provided by the accepting party.</param>
582
-
/// <returns>A value indicating whether the acceptance went through; <c>false</c> if the channel is already accepted, rejected or offer rescinded.</returns>
582
+
/// <returns>A value indicating whether the acceptance went through; <see langword="false"/> if the channel is already accepted, rejected or offer rescinded.</returns>
Copy file name to clipboardExpand all lines: src/Nerdbank.Streams/MultiplexingStream.ChannelOptions.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ public ChannelOptions()
38
38
/// <summary>
39
39
/// Gets or sets an existing <see cref="IDuplexPipe"/> instance used to exchange data with the channel.
40
40
/// </summary>
41
-
/// <value>The default is <c>null</c>.</value>
41
+
/// <value>The default is <see langword="null"/>.</value>
42
42
/// <remarks>
43
43
/// <para>
44
44
/// This property supports high throughput scenarios where channel data ultimately goes to a <see cref="PipeWriter"/> and <see cref="PipeReader"/> that already exist.
@@ -51,7 +51,7 @@ public ChannelOptions()
51
51
/// the value of <see cref="ChannelReceivingWindowSize"/> and <see cref="Options.DefaultChannelReceivingWindowSize"/>.
52
52
/// </para>
53
53
/// </remarks>
54
-
/// <exception cref="ArgumentException">Thrown if set to an <see cref="IDuplexPipe"/> that returns <c>null</c> for either of its properties.</exception>
54
+
/// <exception cref="ArgumentException">Thrown if set to an <see cref="IDuplexPipe"/> that returns <see langword="null"/> for either of its properties.</exception>
@@ -179,10 +179,10 @@ public int ProtocolMajorVersion
179
179
180
180
/// <summary>
181
181
/// Gets or sets a factory for <see cref="TraceSource"/> instances to attach to a newly opened <see cref="Channel"/>
182
-
/// when its <see cref="ChannelOptions.TraceSource"/> is <c>null</c>.
182
+
/// when its <see cref="ChannelOptions.TraceSource"/> is <see langword="null"/>.
183
183
/// </summary>
184
184
/// <remarks>
185
-
/// <para>The delegate receives a channel ID and name, and may return a <see cref="TraceSource"/> or <c>null</c>.</para>
185
+
/// <para>The delegate receives a channel ID and name, and may return a <see cref="TraceSource"/> or <see langword="null"/>.</para>
186
186
/// <para>This delegate supersedes the obsolete <see cref="DefaultChannelTraceSourceFactory"/> as this one provides detail about whether the channel was offered locally or remotely.</para>
@@ -715,9 +715,9 @@ public async ValueTask DisposeAsync()
715
715
/// </summary>
716
716
/// <param name="stream">The stream to read from.</param>
717
717
/// <param name="buffer">The buffer to fill.</param>
718
-
/// <param name="throwOnEmpty"><c>true</c> to throw if 0 bytes are read before the stream before the end of stream is encountered; <c>false</c> to simply return <c>false</c> when that happens.</param>
718
+
/// <param name="throwOnEmpty"><see langword="true"/> to throw if 0 bytes are read before the stream before the end of stream is encountered; <see langword="false"/> to simply return <see langword="false"/> when that happens.</param>
/// <returns><c>true</c> if the buffer was filled as required; <c>false</c> if the stream was empty and no bytes were read, if <paramref name="throwOnEmpty"/> is <c>false</c>.</returns>
720
+
/// <returns><see langword="true"/> if the buffer was filled as required; <see langword="false"/> if the stream was empty and no bytes were read, if <paramref name="throwOnEmpty"/> is <see langword="false"/>.</returns>
721
721
/// <exception cref="EndOfStreamException">Thrown if the end of the stream was reached before the buffer was filled (unless <paramref name="throwOnEmpty"/> is false and 0 bytes were read).</exception>
Copy file name to clipboardExpand all lines: src/Nerdbank.Streams/PipeExtensions.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ public static partial class PipeExtensions
35
35
/// Exposes a full-duplex pipe as a <see cref="Stream"/>.
36
36
/// </summary>
37
37
/// <param name="pipe">The pipe to wrap as a stream.</param>
38
-
/// <param name="ownsPipe"><c>true</c> to complete the underlying reader and writer when the <see cref="Stream"/> is disposed; <c>false</c> to keep them open.</param>
38
+
/// <param name="ownsPipe"><see langword="true"/> to complete the underlying reader and writer when the <see cref="Stream"/> is disposed; <see langword="false"/> to keep them open.</param>
0 commit comments