Skip to content

Commit 5326590

Browse files
v-maudelRon Petrusha
authored andcommitted
M33065: Possible typo "have the same"/"have not the same" (dotnet#1476)
* M33065: Possible typo "have the same"/"have not the same" Hello, @mairaw , Translator has reported possible source content issue. Description: Would you please check if the two parts connected with "otherwise" in between are okay as they are; to me, it seems like they are in a meaning clash, as they basically mean the same thing yet "false" and "true." In other words, I believe - since "{1}" is replaced with "false," - "have the same" should be changed to "do not have the same." Please review and merge the suggested proposed file change to avoid this error. If you make related fix in another PR, then share your PR number, so we can confirm and close this PR. Many thanks in advance. * Reverted change; made changes to both other overloads.
1 parent 7f6a388 commit 5326590

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/System.Windows/Int32Rect.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
<param name="o">The object to compare to the current rectangle.</param>
187187
<summary>Determines whether the specified rectangle is equal to this rectangle.</summary>
188188
<returns>
189-
<see langword="true" /> if <paramref name="o" /> is an <see cref="T:System.Windows.Int32Rect" /> and the same <see cref="P:System.Windows.Int32Rect.X" />, <see cref="P:System.Windows.Int32Rect.Y" />, <see cref="P:System.Windows.Int32Rect.Width" />, and <see cref="P:System.Windows.Int32Rect.Height" /> as this rectangle; otherwise, <see langword="false" />.</returns>
189+
<see langword="true" /> if <paramref name="o" /> is an <see cref="T:System.Windows.Int32Rect" /> and has the same <see cref="P:System.Windows.Int32Rect.X" />, <see cref="P:System.Windows.Int32Rect.Y" />, <see cref="P:System.Windows.Int32Rect.Width" />, and <see cref="P:System.Windows.Int32Rect.Height" /> as this rectangle; otherwise, <see langword="false" />.</returns>
190190
<remarks>
191191
<format type="text/markdown"><![CDATA[
192192
@@ -220,7 +220,7 @@
220220
<param name="value">The rectangle to compare to the current rectangle.</param>
221221
<summary>Determines whether the specified rectangle is equal to this rectangle.</summary>
222222
<returns>
223-
<see langword="true" /> if both rectangles have the same <see cref="P:System.Windows.Int32Rect.X" />, <see cref="P:System.Windows.Int32Rect.Y" />, <see cref="P:System.Windows.Int32Rect.Width" />, and <see cref="P:System.Windows.Int32Rect.Height" /> as this rectangle; otherwise, <see langword="false" />.</returns>
223+
<see langword="true" /> if <paramref name="value" /> has the same <see cref="P:System.Windows.Int32Rect.X" />, <see cref="P:System.Windows.Int32Rect.Y" />, <see cref="P:System.Windows.Int32Rect.Width" />, and <see cref="P:System.Windows.Int32Rect.Height" /> as this rectangle; otherwise, <see langword="false" />.</returns>
224224
<remarks>
225225
<format type="text/markdown"><![CDATA[
226226
@@ -654,4 +654,4 @@
654654
</Docs>
655655
</Member>
656656
</Members>
657-
</Type>
657+
</Type>

0 commit comments

Comments
 (0)