14 writes to CurrentCandidate
Microsoft.AspNetCore.Mvc.Core (3)
ConsumesAttribute.cs (1)
207CurrentCandidate = candidate
Infrastructure\ActionSelector.cs (1)
197constraintContext.CurrentCandidate = candidate;
Routing\ActionConstraintMatcherPolicy.cs (1)
209constraintContext.CurrentCandidate = item.candidate;
Microsoft.AspNetCore.Mvc.Core.Test (10)
ActionConstraints\HttpMethodActionConstraintTest.cs (1)
63context.CurrentCandidate = context.Candidates[0];
ConsumesAttributeTests.cs (9)
97context.CurrentCandidate = context.Candidates[0]; 132context.CurrentCandidate = context.Candidates[0]; 170context.CurrentCandidate = context.Candidates[0]; 210context.CurrentCandidate = context.Candidates[0]; 212context.CurrentCandidate = context.Candidates[1]; 249context.CurrentCandidate = context.Candidates[0]; 252context.CurrentCandidate = context.Candidates[1]; 288context.CurrentCandidate = context.Candidates[0]; 290context.CurrentCandidate = context.Candidates[1];
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsHttpMethodActionConstraintTest.cs (1)
79context.CurrentCandidate = context.Candidates[0];
3 references to CurrentCandidate
Microsoft.AspNetCore.Mvc.Core (3)
ActionConstraints\ActionMethodSelectorAttribute.cs (1)
22return IsValidForRequest(context.RouteContext, context.CurrentCandidate.Action);
ConsumesAttribute.cs (2)
152if (!IsApplicable(context.CurrentCandidate.Action)) 183if (firstCandidate.Action != context.CurrentCandidate.Action)