Skip to content

Commit 01e35da

Browse files
gewarrenjkotas
andauthored
Apply suggestions from code review
Co-authored-by: Jan Kotas <[email protected]>
1 parent 49c4ba6 commit 01e35da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Threading/Interlocked.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@
944944
## Remarks
945945
946946
> [!IMPORTANT]
947-
> The <xref:System.Threading.Interlocked.CompareExchange%60%601%28%60%600%40%2C%60%600%2C%60%600%29> method overload provides a type-safe alternative. We recommend that you call it instead of this overload.
947+
> The <xref:System.Threading.Interlocked.CompareExchange%60%601%28%60%600%40%2C%60%600%2C%60%600%29> method overload provides a generic alternative that can be used for concrete reference types.
948948
949949
If `comparand` and the object in `location1` are equal by reference, then `value` is stored in `location1`. Otherwise, no operation is performed. The compare and exchange operations are performed as an atomic operation. The return value of <xref:System.Threading.Interlocked.CompareExchange%2A> is the original value in `location1`, whether or not the exchange takes place.
950950
@@ -1997,7 +1997,7 @@ If `comparand` and the value in `location1` are equal by reference, then `value`
19971997
## Remarks
19981998
19991999
> [!IMPORTANT]
2000-
> The <xref:System.Threading.Interlocked.Exchange%60%601%28%60%600%40%2C%60%600%29> method overload provides a type-safe alternative. We recommend that you call it instead of this overload.
2000+
> The <xref:System.Threading.Interlocked.Exchange%60%601%28%60%600%40%2C%60%600%29> method overload provides a generic alternative that can be used for concrete reference types.
20012001
20022002
]]></format>
20032003
</remarks>

0 commit comments

Comments
 (0)