summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2017-11-04 10:40:22 -0400
committerGitHub <noreply@github.com>2017-11-04 10:40:22 -0400
commit9345244f8172de638223cd7c1e48a5cd169185eb (patch)
tree559fcd628ebfa2914dbd1f74fc3118198ac01759 /src
parent4c18b020e5bd87ef638b0db9bc78ffb33dac8f19 (diff)
parentc1d16c6551bc9588bae8762a23d82b49d9accd55 (diff)
downloadcoreclr-9345244f8172de638223cd7c1e48a5cd169185eb.tar.gz
coreclr-9345244f8172de638223cd7c1e48a5cd169185eb.tar.bz2
coreclr-9345244f8172de638223cd7c1e48a5cd169185eb.zip
Merge pull request #14859 from justinvp/rom
ReadOnlyMemory: Fix copy/paste mistake in doc comment
Diffstat (limited to 'src')
-rw-r--r--src/mscorlib/shared/System/ReadOnlyMemory.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mscorlib/shared/System/ReadOnlyMemory.cs b/src/mscorlib/shared/System/ReadOnlyMemory.cs
index c2ba4ab41d..f28a958f42 100644
--- a/src/mscorlib/shared/System/ReadOnlyMemory.cs
+++ b/src/mscorlib/shared/System/ReadOnlyMemory.cs
@@ -90,17 +90,17 @@ namespace System
private string DebuggerDisplay => string.Format("{{{0}[{1}]}}", typeof(T).Name, _length);
/// <summary>
- /// Defines an implicit conversion of an array to a <see cref="Memory{T}"/>
+ /// Defines an implicit conversion of an array to a <see cref="ReadOnlyMemory{T}"/>
/// </summary>
public static implicit operator ReadOnlyMemory<T>(T[] array) => new ReadOnlyMemory<T>(array);
/// <summary>
- /// Defines an implicit conversion of a <see cref="ArraySegment{T}"/> to a <see cref="Memory{T}"/>
+ /// Defines an implicit conversion of a <see cref="ArraySegment{T}"/> to a <see cref="ReadOnlyMemory{T}"/>
/// </summary>
public static implicit operator ReadOnlyMemory<T>(ArraySegment<T> arraySegment) => new ReadOnlyMemory<T>(arraySegment.Array, arraySegment.Offset, arraySegment.Count);
/// <summary>
- /// Returns an empty <see cref="Memory{T}"/>
+ /// Returns an empty <see cref="ReadOnlyMemory{T}"/>
/// </summary>
public static ReadOnlyMemory<T> Empty { get; } = Array.Empty<T>();