Implemented interface members:
property
Count
System.Collections.Generic.ICollection<T>.Count
property
Count
System.Collections.Generic.IReadOnlyCollection<T>.Count
107 references to Count
System.Activities (6)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (1)
332
return this.ImportReferences == null || this.ImportReferences.
Count
== 0;
System\Activities\Activity.cs (2)
1347
return this.requiredExtensionTypes.
Count
;
1360
return activityExtensionProviders != null || (requiredExtensionTypes != null && requiredExtensionTypes.
Count
> 0);
System\Activities\Hosting\WorkflowInstanceExtensionCollection.cs (1)
120
if (requiredActivityExtensionTypes != null && requiredActivityExtensionTypes.
Count
> 0)
System\Activities\Statements\Flowchart.cs (1)
205
List<Activity> children = new List<Activity>(uniqueChildren.
Count
);
System\Activities\XamlIntegration\CompiledDataContext.cs (1)
206
if (this.activities != null && this.activities.
Count
<= 5)
System.Activities.Presentation (10)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (2)
145
if (this.namespacesToIgnore.
Count
> 0)
189
if (this.namespacesToIgnore.
Count
> 0)
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (3)
311
if (parentModelItems.
Count
== 0)
516
if ((childrenContainers == null || childrenContainers.
Count
== 0) && null != pasteModelItem.View)
520
else if (null != childrenContainers && childrenContainers.
Count
== 1)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
584
return checkingMap.
Count
== 0;
804
if (parentModelItems.
Count
== 0)
System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (2)
163
Fx.Assert(this.itemsAdded.
Count
== 0 && this.itemsRemoved.
Count
== 0, "There should not be items changed before completed.");
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
485
(unresolvedTypes.
Count
> 1 || !unresolvedTypes.Contains(type)))
System.Core (8)
System\Collections\Generic\HashSet.cs (8)
621
if (m_count > otherAsSet.
Count
) {
665
if (m_count >= otherAsSet.
Count
) {
709
if (otherAsSet.
Count
> m_count) {
759
if (otherAsSet.
Count
>= m_count) {
812
if (m_count != otherAsSet.
Count
) {
1449
T[] newArray = new T[
Count
];
1477
if (set1.
Count
!= set2.
Count
) {
System.Data (10)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (2)
145
if (this.namespacesToIgnore.
Count
> 0)
189
if (this.namespacesToIgnore.
Count
> 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (3)
311
if (parentModelItems.
Count
== 0)
516
if ((childrenContainers == null || childrenContainers.
Count
== 0) && null != pasteModelItem.View)
520
else if (null != childrenContainers && childrenContainers.
Count
== 1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
584
return checkingMap.
Count
== 0;
804
if (parentModelItems.
Count
== 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (2)
163
Fx.Assert(this.itemsAdded.
Count
== 0 && this.itemsRemoved.
Count
== 0, "There should not be items changed before completed.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
485
(unresolvedTypes.
Count
> 1 || !unresolvedTypes.Contains(type)))
System.Data.Entity (47)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
179
if (principalSetsAndDependentTypes.
Count
== 0)
System\Data\Common\Utils\Set.cs (3)
91
return _values.
Count
;
177
return _values.
Count
== other._values.
Count
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
299
if (_namespaceLookUpTable.
Count
== 0 && schema.DataModel != SchemaDataModelOption.ProviderManifestModel)
System\Data\Mapping\Update\Internal\Graph.cs (2)
159
var result = new TVertex[m_vertices.
Count
];
194
if (m_vertices.
Count
== 0)
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (1)
131
if (1 != discriminatorDomain.
Count
) { return false; }
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (1)
166
if (derivedTypes.
Count
!= 0)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
147
if (newProjectedAttributes.
Count
> 0)
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (6)
125
if (_usedViews.
Count
== 0 || _errorLog.Count > 0)
138
TraceVerbose("Used {0} views of {1} total for rewriting", _usedViews.
Count
, _views.Count);
831
Debug.Assert(toFill.Query.Attributes.
Count
> 0, "Query has no attributes?");
874
if (toFillQuery.Attributes.
Count
== 0)
924
Debug.Assert(toFill.Query.Attributes.
Count
== 0, "This method is used for attribute-less queries only");
945
Debug.Assert(usedViews.
Count
> 0);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingPass.cs (1)
50
if (qp.REORDER_VIEWS && recentlyUsedViews.
Count
> 0)
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingProcessor.cs (2)
157
return views.
Count
;
253
int numPermutations = Math.Min(MAX_PERMUTATIONS, Math.Max(MIN_PERMUTATIONS, (int)(usedViews.
Count
* PERMUTE_FRACTION)));
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingSimplifier.cs (3)
135
if (remainingViews.
Count
== 0)
139
if (remainingViews.
Count
== 1)
170
int halfCount = remainingViews.
Count
/ 2;
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (5)
120
Debug.Assert(m_mergedCells.
Count
== 1);
391
if (x.FragmentQuery.Attributes.
Count
> y.FragmentQuery.Attributes.
Count
)
395
else if (x.FragmentQuery.Attributes.
Count
< y.FragmentQuery.Attributes.
Count
)
System\Data\Objects\ELinq\Funcletizer.cs (1)
418
if (parameters.
Count
!= 1)
System\Data\Objects\EntityEntry.cs (1)
1715
Debug.Assert(pair.Value.
Count
== 1, "Unexpected number of keys");
System\Data\Objects\Internal\EntityProxyFactory.cs (2)
1121
if (ospaceEntityType.Members.Count != _scalarMembers.
Count
+ _relationshipMembers.
Count
)
System\Data\Objects\ObjectStateManager.cs (12)
593
return _entriesWithConceptualNulls != null && _entriesWithConceptualNulls.
Count
!= 0;
3144
if (pair.Key.IsDependentEndOfReferentialConstraint(true) && pair.Value.
Count
> 0)
3156
if (pair.Value.
Count
> 1)
3180
if (pair.Key.IsDependentEndOfReferentialConstraint(true) && pair.Value.
Count
> 0)
3191
if (pair.Value.
Count
> 1)
3198
else if (pair.Value.
Count
== 1)
3219
if (newFks != null && newFks.
Count
> 0)
3242
if (removedKeys.
Count
> 0)
3617
entityKeysOfDeletedObjects.
Count
> 0 &&
3643
entitiesToAdd.
Count
> 0)
3668
entityKeysOfAddedObjects.
Count
> 0)
3677
entitiesToAdd.
Count
> 0)
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
55
Dictionary<EntityType, TypedColumnMap> typeChoices = new Dictionary<EntityType, TypedColumnMap>(mappedEntityTypes.
Count
);
System\Data\Query\PlanCompiler\AggregatePushdown.cs (1)
92
return (_candidateAggregateNodes != null && _candidateAggregateNodes.
Count
!= 0);
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
191
if (m_referencedTypes.
Count
> 0)
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (1)
373
m_entitySetIdToEntitySetMap = new md.EntitySet[referencedEntitySets.
Count
];
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
1504
if (session.ReadOnlyEntities.
Count
> 0)
System.Data.Services (2)
System\Data\Services\Providers\BasicExpandProvider.cs (1)
1033
this.projectedProperties = new List<ProjectedProperty>(this.projectedPropertyCandidates.
Count
);
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
768
if (etagPropertyNames.
Count
!= 0)
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
859
if (entitySets.
Count
== 1)
System.Runtime.DurableInstancing (9)
System\Runtime\DurableInstancing\InstanceHandle.cs (4)
177
if (this.pendingOwnerEvents != null && this.pendingOwnerEvents.
Count
> 0)
181
if (this.boundOwnerEvents != null && this.boundOwnerEvents.
Count
> 0)
555
normals = new List<InstancePersistenceEvent>(this.pendingOwnerEvents.
Count
);
716
if (this.boundOwnerEvents != null && this.boundOwnerEvents.
Count
> 0)
System\Runtime\DurableInstancing\InstanceStore.cs (5)
173
if (normal.BoundHandles.
Count
> 0)
216
if (normal.BoundHandles.
Count
== 0 && normal.PendingHandles.
Count
== 0)
401
if (!normal.IsSignaled && normal.BoundHandles.
Count
== 0 && normal.PendingHandles.
Count
== 0)
System.ServiceModel (1)
System\ServiceModel\ServiceChannelManager.cs (1)
431
return this.hashSet.
Count
;
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (2)
1235
if ((thisPtr.persistenceContext.keysToAssociate.
Count
!= 0) ||
1236
((thisPtr.persistenceContext.keysToDisassociate.
Count
!= 0) &&
System\ServiceModel\Activities\WorkflowService.cs (2)
326
if (property.ImplementingReceives.
Count
< 1)
508
if (this.receiveAndReplyPairs.
Count
!= 0)
System.Web (6)
Routing\ParsedRoute.cs (1)
313
if (unusedNewValues.
Count
> 0) {
UI\EventValidationStore.cs (2)
30
return _hashes.
Count
;
130
writer.Write7BitEncodedInt(_hashes.
Count
); // number of entries
WebSockets\AspNetWebSocketManager.cs (3)
34
return _activeSockets.
Count
;
61
activeSocketCount = _activeSockets.
Count
;
79
activeSocketCount = _activeSockets.
Count
;
System.Web.Extensions (1)
UI\ScriptManager.cs (1)
1639
if (virtualPathsInBundles.
Count
== 0) {
System.Workflow.Runtime (1)
System\Activities\Statements\Interop.cs (1)
309
if (this.extraDynamicArguments != null && this.extraDynamicArguments.
Count
> 0)