diff options
author | Mandar Sahasrabuddhe <WinCPP@users.noreply.github.com> | 2017-03-26 04:47:41 +0300 |
---|---|---|
committer | Dan Moseley <danmose@microsoft.com> | 2017-03-26 04:47:41 +0300 |
commit | 944e5ab1493e56c1e2864628e650fee23b1138da (patch) | |
tree | bfeca085516c5501b56d02337c2f089981d266b1 /src/System.Memory | |
parent | 5fdae35eefba488975a81d92f459d9d4604b57b0 (diff) |
Issue #14486 Update API summary. (#17526)
Diffstat (limited to 'src/System.Memory')
-rw-r--r-- | src/System.Memory/src/System/ReadOnlySpan.cs | 5 | ||||
-rw-r--r-- | src/System.Memory/src/System/Span.cs | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/System.Memory/src/System/ReadOnlySpan.cs b/src/System.Memory/src/System/ReadOnlySpan.cs index d84f99fc53..7f8e0e745a 100644 --- a/src/System.Memory/src/System/ReadOnlySpan.cs +++ b/src/System.Memory/src/System/ReadOnlySpan.cs @@ -117,8 +117,9 @@ namespace System /// <summary> /// Create a new read-only span over a portion of a regular managed object. This can be useful - /// if part of a managed object represents a "fixed array." This is dangerous because - /// "length" is not checked, nor is the fact that "rawPointer" actually lies within the object. + /// if part of a managed object represents a "fixed array." This is dangerous because neither the + /// <paramref name="length"/> is checked, nor <paramref name="obj"/> being null, nor the fact that + /// "rawPointer" actually lies within <paramref name="obj"/>. /// </summary> /// <param name="obj">The managed object that contains the data to span over.</param> /// <param name="objectData">A reference to data within that object.</param> diff --git a/src/System.Memory/src/System/Span.cs b/src/System.Memory/src/System/Span.cs index 958cdaf029..2be9fbbeb7 100644 --- a/src/System.Memory/src/System/Span.cs +++ b/src/System.Memory/src/System/Span.cs @@ -123,8 +123,9 @@ namespace System /// <summary> /// Create a new span over a portion of a regular managed object. This can be useful - /// if part of a managed object represents a "fixed array." This is dangerous because - /// "length" is not checked, nor is the fact that "rawPointer" actually lies within the object. + /// if part of a managed object represents a "fixed array." This is dangerous because neither the + /// <paramref name="length"/> is checked, nor <paramref name="obj"/> being null, nor the fact that + /// "rawPointer" actually lies within <paramref name="obj"/>. /// </summary> /// <param name="obj">The managed object that contains the data to span over.</param> /// <param name="objectData">A reference to data within that object.</param> |