You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/coreclr/System.Private.CoreLib/src/System/Threading/Interlocked.CoreCLR.cs
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -79,8 +79,9 @@ public static long Decrement(ref long location) =>
79
79
/// <returns>The original value of <paramref name="location1"/>.</returns>
80
80
/// <exception cref="NullReferenceException">The address of location1 is a null pointer.</exception>
81
81
/// <typeparam name="T">The type to be used for <paramref name="location1"/> and <paramref name="value"/>. This type must be a reference type.</typeparam>
@@ -134,8 +135,9 @@ public static T Exchange<T>([NotNullIfNotNull(nameof(value))] ref T location1, T
134
135
/// <returns>The original value in <paramref name="location1"/>.</returns>
135
136
/// <exception cref="NullReferenceException">The address of <paramref name="location1"/> is a null pointer.</exception>
136
137
/// <typeparam name="T">The type to be used for <paramref name="location1"/>, <paramref name="value"/>, and <paramref name="comparand"/>. This type must be a reference type.</typeparam>
0 commit comments