Implemented interface member:
property
IsEmpty
System.Collections.Immutable.IImmutableStack<T>.IsEmpty
35 references to IsEmpty
Microsoft.CodeAnalysis.CSharp (2)
Parser\Blender.Reader.cs (2)
129while (!_changes.IsEmpty && oldPosition >= _changes.Peek().Span.End) 279if (_changes.IsEmpty)
Microsoft.DotNet.Helix.Sdk (1)
LoggerExtensions.cs (1)
38string currentCategory = CategoryStack.IsEmpty ? "" : CategoryStack.Peek();
System.Collections.Immutable (32)
System\Collections\Immutable\ImmutableQueue_1.cs (5)
78Debug.Assert(!_forwards.IsEmpty || _backwards.IsEmpty); 79return _forwards.IsEmpty; 193if (!f.IsEmpty) 197else if (_backwards.IsEmpty)
System\Collections\Immutable\ImmutableQueue_1.Enumerator.cs (12)
59if (!_remainingForwardsStack.IsEmpty) 63else if (!_remainingBackwardsStack!.IsEmpty) 88else if (!_remainingForwardsStack.IsEmpty) 92else if (!_remainingBackwardsStack!.IsEmpty) 97return !_remainingForwardsStack.IsEmpty || !_remainingBackwardsStack!.IsEmpty; 150if (!_remainingForwardsStack.IsEmpty) 154else if (!_remainingBackwardsStack!.IsEmpty) 188else if (!_remainingForwardsStack.IsEmpty) 192else if (!_remainingBackwardsStack!.IsEmpty) 197return !_remainingForwardsStack.IsEmpty || !_remainingBackwardsStack!.IsEmpty;
System\Collections\Immutable\ImmutableStack_1.cs (9)
67Debug.Assert(s_EmptyField.IsEmpty); 77Debug.Assert(s_EmptyField.IsEmpty); 109if (this.IsEmpty) 126if (this.IsEmpty) 161if (this.IsEmpty) 212return this.IsEmpty ? 235for (ImmutableStack<T> f = this; !f.IsEmpty; f = f.Pop()) 241Debug.Assert(r.IsEmpty == IsEmpty);
System\Collections\Immutable\ImmutableStack_1.Enumerator.cs (6)
45if (_remainingStack == null || _remainingStack.IsEmpty) 67else if (!_remainingStack.IsEmpty) 72return !_remainingStack.IsEmpty; 114if (_remainingStack == null || _remainingStack.IsEmpty) 146else if (!_remainingStack.IsEmpty) 151return !_remainingStack.IsEmpty;