31 references to Count
Microsoft.AspNetCore.Mvc.Core (3)
Routing\ActionConstraintMatcherPolicy.cs (2)
83
for (var i = 0; i < candidateSet.
Count
; i++)
112
for (var i = 0; i < candidateSet.
Count
; i++)
Routing\DynamicControllerEndpointMatcherPolicy.cs (1)
69
for (var i = 0; i < candidates.
Count
; i++)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\DynamicControllerEndpointMatcherPolicyTest.cs (1)
430
Assert.Equal(2, candidates.
Count
);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
PageLoaderMatcherPolicy.cs (2)
60
for (var i = 0; i < candidates.
Count
; i++)
101
for (var i = index + 1; i < candidates.
Count
; i++)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (1)
71
for (var i = 0; i < candidates.
Count
; i++)
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Infrastructure\DynamicPageEndpointMatcherPolicyTest.cs (2)
373
Assert.Equal(1, candidates.
Count
);
430
Assert.Equal(2, candidates.
Count
);
Microsoft.AspNetCore.Routing (9)
Matching\AcceptsMatcherPolicy.cs (1)
56
for (var i = 0; i < candidates.
Count
; i++)
Matching\CandidateSet.cs (5)
91
if ((uint)index >=
Count
)
112
if ((uint)index >=
Count
)
135
if ((uint)index >=
Count
)
168
if ((uint)index >=
Count
)
211
if ((uint)index >=
Count
)
Matching\HostMatcherPolicy.cs (1)
76
for (var i = 0; i < candidates.
Count
; i++)
Matching\HttpMethodMatcherPolicy.cs (1)
94
for (var i = 0; i < candidates.
Count
; i++)
Matching\NegotiationMatcherPolicy.cs (1)
98
for (var i = 0; i < candidates.
Count
; i++)
Microsoft.AspNetCore.Routing.Tests (13)
Matching\CandidateSetTest.cs (10)
31
for (var i = 0; i < candidateSet.
Count
; i++)
60
for (var i = 0; i < candidateSet.
Count
; i++)
93
for (var i = 0; i < candidateSet.
Count
; i++)
135
for (var i = 1; i < candidateSet.
Count
; i++)
176
Assert.Equal(12, candidateSet.
Count
);
185
for (var i = 3; i < candidateSet.
Count
; i++)
226
Assert.Equal(12, candidateSet.
Count
);
242
for (var i = 8; i < candidateSet.
Count
; i++)
283
Assert.Equal(12, candidateSet.
Count
);
356
for (var i = 0; i < candidateSet.
Count
; i++)
Matching\DfaMatcherTest.cs (3)
651
Assert.Equal(2, cs.
Count
);
697
Assert.Equal(2, cs.
Count
);
744
Assert.Equal(2, cs.
Count
);