Implemented interface members:
property
Count
System.Collections.Generic.ICollection<T>.Count
property
Count
System.Collections.Generic.IReadOnlyCollection<T>.Count
property
Count
System.Collections.ICollection.Count
40 references to Count
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\MruCache.cs (1)
155if (found && _mruList.Count > 1
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
112while (nodes.Count > 0)
Microsoft.Build (3)
BackEnd\Components\Scheduler\SchedulingData.cs (1)
218get { return _unscheduledRequests.Count; }
Evaluation\ProjectRootElementCache.cs (2)
429DebugTraceCache("Clearing strong refs: ", _strongCache.Count); 593if (_strongCache.Count > s_maximumStrongCacheSize)
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
112while (nodes.Count > 0)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
112while (nodes.Count > 0)
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
112while (nodes.Count > 0)
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\CodeGeneration\CodeWriter.cs (1)
315return new Reader(pages, pages.Count);
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
112while (nodes.Count > 0)
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
112while (nodes.Count > 0)
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComTypeLibDesc.cs (1)
131string[] retval = new string[_enums.Count + _classes.Count];
Microsoft.ML.Data (1)
Model\Pfa\SavePfaCommand.cs (1)
143Host.Assert(transforms.Count == 0 || transforms.Last.Value == end);
Microsoft.ML.FastTree (4)
Training\Test.cs (4)
285public double BestAverageValue => _toleratedQueue.Count == 0 ? 0.0 : _toleratedQueue.First().Sum / _windowSize; 307if (_window.Count == _windowSize) 321if (_window.Count == _windowSize && 322(_toleratedQueue.Count == 0 || _currentWindowSum > _toleratedQueue.Last().Sum))
Microsoft.ML.OnnxConverter (1)
SaveOnnxCommand.cs (1)
335Host.Assert(transforms.Count == 0 || transforms.Last.Value == end);
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\CacheDict.vb (1)
29ElseIf (_list.Count = _maxSize) Then
Microsoft.Web.XmlTransform (4)
XmlFormatter.cs (4)
66Debug.Assert(indents.Count > 0, "Expected at least one previous indent"); 340if (indents.Count > 0) { 412Debug.Assert(indents.Count > 0, "Expected at least one previous indent"); 413if (indents.Count <= 0) {
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
112while (nodes.Count > 0)
System.Collections (5)
System\Collections\Generic\LinkedList.cs (5)
205if (array.Length - index < Count) 292Count == 0 ? EnumerableHelpers.GetEmptyEnumerator<T>() : 463if (array.Length - index < Count) 526if (_index == 0 || (_index == _list.Count + 1)) 544_index = _list.Count + 1;
System.Data.Common (3)
System\Data\SortExpressionBuilder.cs (3)
119Debug.Assert(_selectors.Count == _comparers.Count); 120return _selectors.Count;
System.Net.Requests (1)
System\Net\TimerThread.cs (1)
505if (s_newQueues.Count > 0)
System.ServiceModel.Primitives (1)
Internals\System\Runtime\MruCache.cs (1)
208if (found && _mruList.Count > 1
System.Windows.Forms (5)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarBodyAccessibleObject.cs (2)
204internal override int RowCount => RowsAccessibleObjects?.Count ?? -1; 236if (row.CellsAccessibleObjects?.Count > 0)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarTodayLinkAccessibleObject.cs (1)
45=> ChildIdIncrement + _monthCalendarAccessibleObject.CalendarsAccessibleObjects?.Count ?? -1;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (2)
528if (CalendarsAccessibleObjects!.Count > 0) 540? (int)Math.Ceiling((double)CalendarsAccessibleObjects.Count / ColumnCount)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\EventHandlerService.cs (1)
55Debug.Assert(_handlers.Count > 0, "Should have handlers to look through.");