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