1 write to _parameters
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ActivatorUtilities\ActivatorUtilities.cs (1)
106
_parameters
= _constructor.GetParameters();
6 references to _parameters
Microsoft.AspNetCore.Shared.Tests (6)
src\Shared\ActivatorUtilities\ActivatorUtilities.cs (6)
107
_parameterValues = new object?[
_parameters
.Length];
119
for (var applyIndex = applyIndexStart; givenMatched == false && applyIndex !=
_parameters
.Length; ++applyIndex)
122
_parameters
[applyIndex].ParameterType.IsAssignableFrom(givenType))
147
for (var index = 0; index <
_parameters
.Length; index++)
149
var parameter =
_parameters
[index];
158
throw new InvalidOperationException($"Unable to resolve service for type '{
_parameters
[index].ParameterType}' while attempting to activate '{_constructor.DeclaringType}'.");