diff options
author | Justin Van Patten <jvp@justinvp.com> | 2017-11-03 14:47:08 -0700 |
---|---|---|
committer | Justin Van Patten <jvp@justinvp.com> | 2017-11-03 14:47:08 -0700 |
commit | c1d16c6551bc9588bae8762a23d82b49d9accd55 (patch) | |
tree | 905a24d9b6c32b2901627a13e82be958482d7358 /src | |
parent | f4f649a2f7649d989f78b471d0d7d91343da96e7 (diff) | |
download | coreclr-c1d16c6551bc9588bae8762a23d82b49d9accd55.tar.gz coreclr-c1d16c6551bc9588bae8762a23d82b49d9accd55.tar.bz2 coreclr-c1d16c6551bc9588bae8762a23d82b49d9accd55.zip |
ReadOnlyMemory: Fix copy/paste mistake in doc comment
Diffstat (limited to 'src')
-rw-r--r-- | src/mscorlib/shared/System/ReadOnlyMemory.cs | 6 |
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>(); |