Skip to content

Commit 2c5e5d3

Browse files
lammichaelmairaw
authored andcommitted
Fixed a typo (#2401)
1 parent f78de0f commit 2c5e5d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Threading/ReaderWriterLockSlim.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
227227
The example includes simple methods to add to the cache, delete from the cache, and read from the cache. To demonstrate time-outs, the example includes a method that adds to the cache only if it can do so within a specified time-out.
228228
229-
To demonstrate upgradeable mode, the example includes a method that retrieves the value associated with a key and compares it with a new value. If the value is unchanged, the method returns a status indicating no change. It no value is found for the key, the key/value pair is inserted. If the value has changed, it is updated. Upgradeable mode allows the thread to upgrade from read access to write access as needed, without the risk of deadlocks.
229+
To demonstrate upgradeable mode, the example includes a method that retrieves the value associated with a key and compares it with a new value. If the value is unchanged, the method returns a status indicating no change. If no value is found for the key, the key/value pair is inserted. If the value has changed, it is updated. Upgradeable mode allows the thread to upgrade from read access to write access as needed, without the risk of deadlocks.
230230
231231
The example includes a nested enumeration that specifies the return values for the method that demonstrates upgradeable mode.
232232
@@ -1790,4 +1790,4 @@
17901790
</Docs>
17911791
</Member>
17921792
</Members>
1793-
</Type>
1793+
</Type>

0 commit comments

Comments
 (0)