11 writes to Candidates
Microsoft.AspNetCore.Mvc.Core (3)
ConsumesAttribute.cs (1)
205Candidates = context.Candidates,
Infrastructure\ActionSelector.cs (1)
184Candidates = candidates,
Routing\ActionConstraintMatcherPolicy.cs (1)
196Candidates = items.Select(i => i.candidate).ToArray()
Microsoft.AspNetCore.Mvc.Core.Test (7)
ActionConstraints\HttpMethodActionConstraintTest.cs (1)
62context.Candidates = new List<ActionSelectorCandidate> { actionSelectorCandidate };
ConsumesAttributeTests.cs (6)
92context.Candidates = new List<ActionSelectorCandidate>() 126context.Candidates = new List<ActionSelectorCandidate>() 164context.Candidates = new List<ActionSelectorCandidate>() 200context.Candidates = new List<ActionSelectorCandidate>() 239context.Candidates = new List<ActionSelectorCandidate>() 279context.Candidates = new List<ActionSelectorCandidate>()
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsHttpMethodActionConstraintTest.cs (1)
78context.Candidates = new List<ActionSelectorCandidate> { actionSelectorCandidate };
15 references to Candidates
Microsoft.AspNetCore.Mvc.Core (4)
ConsumesAttribute.cs (4)
168var isActionWithoutConsumeConstraintPresent = context.Candidates.Any( 182var firstCandidate = context.Candidates[0]; 196foreach (var candidate in context.Candidates) 205Candidates = context.Candidates,
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];