From 5fbeba13042200773ca51470b3c02ea31c563870 Mon Sep 17 00:00:00 2001 From: Anipik Date: Wed, 24 Jul 2019 11:45:37 -0700 Subject: [PATCH 1/3] adding docs --- .../Unsafe.xml | 47 ++++++++++--------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/xml/System.Runtime.CompilerServices/Unsafe.xml b/xml/System.Runtime.CompilerServices/Unsafe.xml index 2b56c825de5..3c18903bf61 100644 --- a/xml/System.Runtime.CompilerServices/Unsafe.xml +++ b/xml/System.Runtime.CompilerServices/Unsafe.xml @@ -49,11 +49,13 @@ - To be added. - To be added. - To be added. - To be added. - To be added. + The type of void pointer. + The void pointer to add the offset to. + The offset to add. + + Adds an element offset to the given void pointer. + + A new void pointer that reflects the addition of offset to pointer. To be added. @@ -764,11 +766,11 @@ - To be added. - To be added. - To be added. - To be added. - To be added. + The type of the reference. + The first value to comppare. + The second value to compare. + Returns a value that indicates whether a specified reference is greater than another specified reference. + if is greater than ; otherwise, . To be added. @@ -797,11 +799,11 @@ - To be added. - To be added. - To be added. - To be added. - To be added. + The type of the reference. + The first value to comppare. + The second value to compare. + Returns a value that indicates whether a specified reference is less than another specified reference. + if is less than ; otherwise, . To be added. @@ -964,11 +966,13 @@ - To be added. - To be added. - To be added. - To be added. - To be added. + The type of void pointer. + The void pointer to subtract the offset from. + The offset to subtract. + + Subtracts an element offset from the given void pointer. + + A new void pointer that reflects the subtraction of offset from pointer. To be added. @@ -1062,8 +1066,7 @@ The type of reference. The reference to subtract the offset from. - The offset to subtract. - To be added. + The offset to subtract. Subtracts a byte offset from the given reference. From 7cdd2442a65802f6263d993c118276a6be4241fe Mon Sep 17 00:00:00 2001 From: Anipik Date: Wed, 24 Jul 2019 13:34:00 -0700 Subject: [PATCH 2/3] summary on one line and comppare -> compare --- xml/System.Runtime.CompilerServices/Unsafe.xml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/xml/System.Runtime.CompilerServices/Unsafe.xml b/xml/System.Runtime.CompilerServices/Unsafe.xml index 3c18903bf61..3875124b165 100644 --- a/xml/System.Runtime.CompilerServices/Unsafe.xml +++ b/xml/System.Runtime.CompilerServices/Unsafe.xml @@ -52,9 +52,7 @@ The type of void pointer. The void pointer to add the offset to. The offset to add. - - Adds an element offset to the given void pointer. - + Adds an element offset to the given void pointer. A new void pointer that reflects the addition of offset to pointer. To be added. @@ -187,9 +185,7 @@ The type of reference. The first reference to compare. The second reference to compare. - - Determines whether the specified references point to the same location. - + Determines whether the specified references point to the same location. if and point to the same location; otherwise, . To be added. @@ -767,7 +763,7 @@ The type of the reference. - The first value to comppare. + The first value to compare. The second value to compare. Returns a value that indicates whether a specified reference is greater than another specified reference. if is greater than ; otherwise, . @@ -800,7 +796,7 @@ The type of the reference. - The first value to comppare. + The first value to compare. The second value to compare. Returns a value that indicates whether a specified reference is less than another specified reference. if is less than ; otherwise, . @@ -969,9 +965,7 @@ The type of void pointer. The void pointer to subtract the offset from. The offset to subtract. - - Subtracts an element offset from the given void pointer. - + Subtracts an element offset from the given void pointer. A new void pointer that reflects the subtraction of offset from pointer. To be added. From dbd6aeeeee9a0f3ec880455e1ba49746d73b7a34 Mon Sep 17 00:00:00 2001 From: Anirudh Agnihotry Date: Wed, 24 Jul 2019 13:36:36 -0700 Subject: [PATCH 3/3] adding specified prefix Co-Authored-By: Maira Wenzel --- xml/System.Runtime.CompilerServices/Unsafe.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xml/System.Runtime.CompilerServices/Unsafe.xml b/xml/System.Runtime.CompilerServices/Unsafe.xml index 3875124b165..c43530b086b 100644 --- a/xml/System.Runtime.CompilerServices/Unsafe.xml +++ b/xml/System.Runtime.CompilerServices/Unsafe.xml @@ -53,7 +53,7 @@ The void pointer to add the offset to. The offset to add. Adds an element offset to the given void pointer. - A new void pointer that reflects the addition of offset to pointer. + A new void pointer that reflects the addition of offset to the specified pointer. To be added. @@ -962,11 +962,11 @@ - The type of void pointer. + The type of the void pointer. The void pointer to subtract the offset from. The offset to subtract. Subtracts an element offset from the given void pointer. - A new void pointer that reflects the subtraction of offset from pointer. + A new void pointer that reflects the subtraction of offset from the specified pointer. To be added.