1 write to Parameters
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ActivatorUtilities.cs (1)
743Parameters = constructor.GetParameters();
19 references to Parameters
Microsoft.Extensions.DependencyInjection.Abstractions (19)
ActivatorUtilities.cs (19)
109InitializeCtorArgValues(ref ctorArgs, constructor.Parameters.Length); 129InitializeCtorArgValues(ref ctorArgs, constructor.Parameters.Length); 189InitializeCtorArgValues(ref ctorArgs, constructor.Parameters.Length); 200max = int.Max(max, constructors[i].Parameters.Length); 746for (int i = 0; i < Parameters.Length; i++) 749Attribute.GetCustomAttribute(Parameters[i], typeof(FromKeyedServicesAttribute), inherit: false); 753_parameterKeys ??= new object?[Parameters.Length]; 761ParameterInfo parameterInfo = Parameters[parameterIndex]; 781ParameterInfo parameterInfo = Parameters[parameterIndex]; 825for (int applyIndex = 0; applyIndex < _constructor.Parameters.Length; applyIndex++) 828_constructor.Parameters[applyIndex].ParameterType.IsAssignableFrom(givenType)) 843for (int i = 0; i < _constructor.Parameters.Length; i++) 848if (ParameterDefaultValue.TryGetDefaultValue(_constructor.Parameters[i], out object? defaultValue)) 859return _constructor.Parameters.Length; 864for (int index = 0; index < _constructor.Parameters.Length; index++) 871if (!ParameterDefaultValue.TryGetDefaultValue(_constructor.Parameters[index], out object? defaultValue)) 873throw new InvalidOperationException(SR.Format(SR.UnableToResolveService, _constructor.Parameters[index].ParameterType, _constructor.Info.DeclaringType)); 888return _constructor.Invoker.Invoke(_parameterValues.Slice(0, _constructor.Parameters.Length)); 905for (int i = 0; i < _constructor.Parameters.Length; i++)