37 references to SetValidity
Microsoft.AspNetCore.Mvc.Core (2)
Routing\ActionConstraintMatcherPolicy.cs (2)
85
candidateSet.
SetValidity
(i, false);
92
candidateSet.
SetValidity
(finalMatches[i].index, true);
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\DynamicControllerEndpointMatcherPolicyTest.cs (1)
109
candidates.
SetValidity
(0, false);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\DynamicPageEndpointMatcherPolicyTest.cs (1)
126
candidates.
SetValidity
(0, false);
Microsoft.AspNetCore.Mvc.Test (2)
Routing\ActionConstraintMatcherPolicyTest.cs (2)
203
candidateSet.
SetValidity
(0, false);
204
candidateSet.
SetValidity
(1, false);
Microsoft.AspNetCore.Routing (10)
Matching\AcceptsMatcherPolicy.cs (1)
125
candidates.
SetValidity
(i, false);
Matching\CandidateSet.cs (1)
179
SetValidity
(index, false);
Matching\HostMatcherPolicy.cs (1)
143
candidates.
SetValidity
(i, false);
Matching\HttpMethodMatcherPolicy.cs (1)
145
candidates.
SetValidity
(i, false);
Matching\IEndpointSelectorPolicy.cs (1)
37
/// <see cref="CandidateSet.
SetValidity
(int, bool)"/> to <c>false</c> where desired.
Matching\NegotiationMatcherPolicy.cs (5)
132
candidates.
SetValidity
(i, false);
166
candidates.
SetValidity
(j, false);
174
candidates.
SetValidity
(currentIndex, false);
186
candidates.
SetValidity
(j, false);
194
candidates.
SetValidity
(currentIndex, false);
Microsoft.AspNetCore.Routing.Tests (21)
Matching\CandidateSetTest.cs (5)
39
candidateSet.
SetValidity
(i, false);
170
candidateSet.
SetValidity
(0, false); // Has no effect. We always count new stuff as valid by default.
220
candidateSet.
SetValidity
(5, false); // Has no effect. We always count new stuff as valid by default.
277
candidateSet.
SetValidity
(9, false); // Has no effect. We always count new stuff as valid by default.
365
candidateSet.
SetValidity
(i, false);
Matching\DefaultEndpointSelectorTest.cs (15)
38
candidateSet.
SetValidity
(0, false);
59
candidateSet.
SetValidity
(0, true);
79
candidateSet.
SetValidity
(0, false);
80
candidateSet.
SetValidity
(1, true);
100
candidateSet.
SetValidity
(0, false);
101
candidateSet.
SetValidity
(1, true);
102
candidateSet.
SetValidity
(2, true);
129
candidateSet.
SetValidity
(0, false);
130
candidateSet.
SetValidity
(1, false);
131
candidateSet.
SetValidity
(2, false);
132
candidateSet.
SetValidity
(3, false);
133
candidateSet.
SetValidity
(4, true);
153
candidateSet.
SetValidity
(0, false);
154
candidateSet.
SetValidity
(1, true);
155
candidateSet.
SetValidity
(2, true);
Matching\DfaMatcherTest.cs (1)
965
cs.
SetValidity
(1, false);