Implemented interface member:
property
Count
System.Collections.ICollection.Count
1 override of Count
mscorlib (1)
system\collections\stack.cs (1)
239
public override int
Count
{
100 references to Count
mscorlib (3)
system\collections\stack.cs (1)
242
return _s.
Count
;
system\environment.cs (1)
158
if (rh.currentlyLoading != null && rh.currentlyLoading.
Count
> 0 && rh.currentlyLoading.Contains(key)) {
system\security\policy\evidence.cs (1)
1871
return m_enumerators.
Count
> 0 ? m_enumerators.Peek() as IEnumerator : null;
PresentationBuildTasks (8)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (7)
585
Debug.Assert(_codeContexts.
Count
== 0);
1160
if (_codeContexts.
Count
> 1 && KnownTypes.Types[(int)KnownElements.INameScope].IsAssignableFrom(cc.ElementType))
1719
if (_codeContexts.
Count
> 1 && KnownTypes.Types[(int)KnownElements.INameScope].IsAssignableFrom(cc.ElementType))
2127
if (_codeContexts.
Count
>= 2)
2483
Debug.Assert(_codeContexts == null || _codeContexts.
Count
== 0, "mismatched CodeContexts");
2923
Debug.Assert(_codeContexts.
Count
== 0, "mismatched codecontext");
2976
if (_codeContexts.
Count
== 0)
Framework\System\Windows\Markup\ParserContext.cs (1)
246
if (null != _langSpaceStack && _langSpaceStack.
Count
> 0)
PresentationCore (6)
Core\CSharp\System\Windows\Input\InputManager.cs (3)
759
if(_stagingArea.
Count
> 0)
776
if(_stagingArea.
Count
> 0)
795
if(_stagingArea.
Count
> 0)
Core\CSharp\System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (3)
346
Debug.Assert(_modifierStack.
Count
> 0);
356
Debug.Assert((_modifierStack.
Count
> 0) || (_currentTransform == null));
364
Debug.Assert((_modifierStack.
Count
> 0) || (_currentClip == null));
PresentationFramework (16)
src\Framework\MS\Internal\Documents\ParentUndoUnit.cs (1)
353
while (_units.
Count
> 0)
src\Framework\MS\Internal\Documents\UndoManager.cs (5)
297
if (RedoStack.
Count
== 0 || (IParentUndoUnit)RedoStack.Peek() != unit)
415
if (State != UndoState.Redo && State != UndoState.Undo && RedoStack.
Count
> 0)
615
if (count > RedoStack.
Count
|| count <= 0)
935
return RedoStack.
Count
;
1152
if (RedoStack.
Count
> 0)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
400
Debug.Assert(_contextStack.
Count
== 0);
src\Framework\System\Windows\Documents\TextStore.cs (1)
3750
int imeChangeCount = imeChangeStack.
Count
;
src\Framework\System\Windows\Markup\BamlReader.cs (3)
1212
_deferableContentBlockDepth = _nodeStack.
Count
;
2003
if (_deferableContentBlockDepth == _nodeStack.
Count
)
2041
if (_deferableContentBlockDepth == _nodeStack.
Count
)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (3)
2983
if (0 != ParserContext.NameScopeStack.
Count
)
2986
if ((NameScope.NameScopeFromObject(element) != null) && 0 != ParserContext.NameScopeStack.
Count
)
4515
&& ParserContext.NameScopeStack.
Count
== 0
src\Framework\System\Windows\Markup\ParserContext.cs (2)
246
if (null != _langSpaceStack && _langSpaceStack.
Count
> 0)
717
if( _nameScopeStack != null && _nameScopeStack.
Count
== 0 )
System (4)
compmod\system\codedom\CodeTypeReference.cs (1)
210
while( subTypeNames.
Count
> 0) {
net\System\Net\connectionpool.cs (3)
835
_count = _stack.
Count
;
842
if (0 <_stack.
Count
) {
848
_count = _stack.
Count
;
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeAutoExpandHelper.cs (2)
46
while (pathStack.
Count
> 0)
70
if (pathStack.
Count
== 0)
System.Configuration (2)
System\Configuration\ConfigurationElement.cs (2)
1121
if (_configRecord.SectionsStack.
Count
>0) {
1168
if (_configRecord.SectionsStack.
Count
>0) {
System.Core (1)
System\Diagnostics\EventSchemaTraceListener.cs (1)
418
if ((stk != null) && (stk.
Count
> 0)) {
System.Data (6)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeAutoExpandHelper.cs (2)
46
while (pathStack.
Count
> 0)
70
if (pathStack.
Count
== 0)
fx\src\data\System\Data\XmlDataLoader.cs (4)
677
int entryChild = childRowsStack.
Count
; // Memorize child stack level on entry
794
while (entryChild < childRowsStack.
Count
) { // Process child rows we might have
830
int entryChild = childRowsStack.
Count
; // Memorize child stack level on entry
1048
while (entryChild < childRowsStack.
Count
) { // Process child rows we might have
System.Web (9)
Compilation\BuildProvidersCompiler.cs (1)
509
while (stack.
Count
> 0) {
HttpContext.cs (1)
832
if (_handlerStack == null || _handlerStack.
Count
== 0)
UI\Html32TextWriter.cs (1)
195
if (FontStack.
Count
> 0) {
UI\ObjectStateFormatter.cs (1)
1190
while (objectStack.
Count
> 0);
UI\Page.cs (2)
6339
Debug.Assert(_dataBindingContext.
Count
> 0);
6348
if ((_dataBindingContext == null) || (_dataBindingContext.
Count
== 0)) {
UI\TemplateParser.cs (3)
1230
if (BuilderStack.
Count
> 1) {
1489
if (BuilderStack.
Count
> 1) {
1511
if (subBuilder == null && _builderStack.
Count
> 1 && !fSelfClosed) {
System.Web.DataVisualization (2)
Common\General\AxisScaleSegments.cs (2)
749
if(_oldAxisSettings.
Count
== 0)
795
if(_oldAxisSettings.
Count
> 0)
System.Web.Mobile (25)
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (20)
709
while(state.TagsWritten.
Count
> 0)
720
while(tmpStack.
Count
> 0)
732
while(state.TagsWritten.
Count
> 0)
745
while(tempStack.
Count
> 0)
754
while(state.TagsWritten.
Count
> 0)
768
while(tempStack.
Count
> 0)
774
while(state.TagsWritten.
Count
> 0)
787
while(tmpStack.
Count
> 0)
840
while(state.TagsWritten.
Count
> 0)
853
while(tempStack.
Count
> 0)
859
while(state.TagsWritten.
Count
> 0)
872
while(tempStack.
Count
> 0)
878
while(state.TagsWritten.
Count
> 0)
888
while(tempStack.
Count
> 0)
926
if(_stack.
Count
== 0)
937
return _stack.
Count
;
1014
while(_tagsWritten.
Count
> 0)
1062
_mark = _tagsWritten.
Count
;
1067
while(_tagsWritten.
Count
> _mark)
1121
while(_tagsWritten.
Count
> 0)
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (2)
1585
if (_layoutStack.
Count
> 0)
1625
if (_formatStack.
Count
> 0)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (2)
101
if (_styleStack.
Count
> 0) {
198
return _physicalCssClasses.
Count
== 0 ||
UI\MobileControls\Design\Util\SimpleParser.cs (1)
291
return (_tagStack.
Count
== 0);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGrid.cs (1)
3833
while(parentStack.
Count
!= 0) {
System.Windows.Forms.DataVisualization (2)
Common\General\AxisScaleSegments.cs (2)
749
if(_oldAxisSettings.
Count
== 0)
795
if(_oldAxisSettings.
Count
> 0)
System.Xml (11)
System\Xml\Schema\ContentValidator.cs (3)
1008
if (stack.
Count
== 0) {
1044
if (stack.
Count
> 0) {
1098
if (stack.
Count
> 0) {
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
194
while (this.complexTypeStack.
Count
> 0) {
System\Xml\Schema\SchemaSetCompiler.cs (1)
188
while (this.complexTypeStack.
Count
> 0) {
System\Xml\Serialization\CodeGenerator.cs (6)
1960
initElseIfStack = blockStack.
Count
;
1968
initIfStack = blockStack.
Count
;
1972
if (initIfStack == blockStack.
Count
) {
1977
if (initElseIfStack == blockStack.
Count
) {
1990
if (initIfStack == blockStack.
Count
) {
1995
if (initElseIfStack == blockStack.
Count
) {
UIAutomationClient (2)
System\Windows\Automation\CacheRequest.cs (2)
206
if (_threadStack == null || _threadStack.
Count
== 0 || _threadStack.Peek() != this)
394
if ( _threadStack == null || _threadStack.
Count
== 0 )