We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 760c3c2 commit 40d06faCopy full SHA for 40d06fa
CommunityToolkit.HighPerformance/Extensions/SpinLockExtensions.cs
@@ -4,7 +4,9 @@
4
5
using System.ComponentModel;
6
using System.Runtime.CompilerServices;
7
+#if NETSTANDARD2_1_OR_GREATER
8
using System.Runtime.Versioning;
9
+#endif
10
using System.Threading;
11
12
namespace CommunityToolkit.HighPerformance;
@@ -48,7 +50,7 @@ public readonly unsafe ref struct UnsafeLock
48
50
private readonly SpinLock* spinLock;
49
51
52
/// <summary>
- /// A value indicating whether or not the lock is taken by this <see cref="Lock"/> instance.
53
+ /// A value indicating whether or not the lock is taken by this <see cref="UnsafeLock"/> instance.
54
/// </summary>
55
private readonly bool lockTaken;
56
0 commit comments