Implemented interface member:
method
Peek
System.Collections.Immutable.IImmutableStack<T>.Peek()
18 references to Peek
Microsoft.CodeAnalysis.CSharp (3)
Parser\Blender.Reader.cs (3)
129while (!_changes.IsEmpty && oldPosition >= _changes.Peek().Span.End) 131var change = _changes.Peek(); 285var changeSpan = _changes.Peek().Span;
Microsoft.CodeAnalysis.VisualBasic (5)
Scanner\Blender.vb (1)
502nextPreprocessorState.ConditionalStack.Peek.BranchTaken = ConditionalState.BranchTakenState.Taken,
Scanner\Directives.vb (4)
89Not conditionals.Peek.BranchTaken = ConditionalState.BranchTakenState.Taken Then 179Not conditionalsStack.Peek.BranchTaken = ConditionalState.BranchTakenState.Taken Then 424condition = conditionals.Peek 469Dim condition = conditionals.Peek
Microsoft.DotNet.Helix.Sdk (1)
LoggerExtensions.cs (1)
38string currentCategory = CategoryStack.IsEmpty ? "" : CategoryStack.Peek();
System.Collections.Immutable (9)
System\Collections\Immutable\ImmutableQueue_1.cs (1)
132return _forwards.Peek();
System\Collections\Immutable\ImmutableQueue_1.Enumerator.cs (4)
61return _remainingForwardsStack.Peek(); 65return _remainingBackwardsStack.Peek(); 152return _remainingForwardsStack.Peek(); 156return _remainingBackwardsStack.Peek();
System\Collections\Immutable\ImmutableStack_1.cs (2)
179value = this.Peek(); 237r = r.Push(f.Peek());
System\Collections\Immutable\ImmutableStack_1.Enumerator.cs (2)
51return _remainingStack.Peek(); 120return _remainingStack.Peek();