Added out keyword to ObservableStack.TryPeek
This commit is contained in:
parent
b92e0de242
commit
6e263fa123
@ -166,7 +166,7 @@ namespace ObservableCollections
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool TryPeek([MaybeNullWhen(false)] T result)
|
public bool TryPeek([MaybeNullWhen(false)] out T result)
|
||||||
{
|
{
|
||||||
lock (SyncRoot)
|
lock (SyncRoot)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user