Skip to content

Commit

Permalink
Merge pull request #57 from JeongJiwon-Ruya/ObservableQueue-TryPeek
Browse files Browse the repository at this point in the history
Add 'out' keyword in ObservableQueue.TryPeek method
  • Loading branch information
neuecc authored Aug 20, 2024
2 parents a7d6e51 + 9b2d057 commit f718492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public T Peek()
}
}

public bool TryPeek([MaybeNullWhen(false)] T result)
public bool TryPeek([MaybeNullWhen(false)] out T result)
{
lock (SyncRoot)
{
Expand Down

0 comments on commit f718492

Please sign in to comment.