Merge pull request #57 from JeongJiwon-Ruya/ObservableQueue-TryPeek

Add 'out' keyword in ObservableQueue.TryPeek method
This commit is contained in:
Yoshifumi Kawai 2024-08-20 16:56:46 +09:00 committed by GitHub
commit f718492d9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,7 +171,7 @@ namespace ObservableCollections
}
}
public bool TryPeek([MaybeNullWhen(false)] T result)
public bool TryPeek([MaybeNullWhen(false)] out T result)
{
lock (SyncRoot)
{