Skip to content

Commit 568e8f6

Browse files
misha-fmRon Petrusha
authored andcommitted
small typo fixed (dotnet#455)
1 parent 7856ced commit 568e8f6

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
@@ -143,7 +143,7 @@
143143
144144
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.
145145
146-
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.
146+
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.
147147
148148
The example includes a nested enumeration that specifies the return values for the method that demonstrates upgradeable mode.
149149
@@ -1763,4 +1763,4 @@
17631763
</Docs>
17641764
</Member>
17651765
</Members>
1766-
</Type>
1766+
</Type>

0 commit comments

Comments
 (0)