Skip to content

Commit b683862

Browse files
authored
Correct XML doc of Volatile.WriteBarrier() (#115803)
1 parent 35514ca commit b683862

File tree

1 file changed

+1
-1
lines changed
  • src/libraries/System.Private.CoreLib/src/System/Threading

1 file changed

+1
-1
lines changed

src/libraries/System.Private.CoreLib/src/System/Threading/Volatile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public static void Write<T>([NotNullIfNotNull(nameof(value))] ref T location, T
239239
/// <summary>
240240
/// Synchronizes memory access as follows:
241241
/// The processor that executes the current thread cannot reorder instructions in such a way that memory writes after
242-
/// the call to <see cref="WriteBarrier"/> execute before memory accesses that follow the call to <see cref="WriteBarrier"/>.
242+
/// the call to <see cref="WriteBarrier"/> execute before memory accesses that precede the call to <see cref="WriteBarrier"/>.
243243
/// </summary>
244244
[Intrinsic]
245245
public static void WriteBarrier() => WriteBarrier();

0 commit comments

Comments
 (0)