Upgraded the lock object to .NET 9

This commit is contained in:
Thorsten Sommer 2025-03-12 18:53:24 +01:00
parent 0d8a00d451
commit 38dc1ffc30
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -3,7 +3,7 @@ namespace AIStudio.Tools;
/// <inheritdoc /> /// <inheritdoc />
public sealed class ThreadSafeRandom : Random public sealed class ThreadSafeRandom : Random
{ {
private static readonly object LOCK = new(); private static readonly Lock LOCK = new();
#region Overrides of Random #region Overrides of Random