ConfigurationBinder.cs (36)
243throw new InvalidOperationException(SR.Format(SR.Error_MissingConfig,
479throw new InvalidOperationException(SR.Format(SR.Error_FailedBinding, section.Path, type));
519throw new InvalidOperationException(SR.Format(SR.Error_CannotActivateAbstractOrInterface, type));
529throw new InvalidOperationException(SR.Format(SR.Error_MissingPublicInstanceConstructor, type));
534throw new InvalidOperationException(SR.Format(SR.Error_MultipleParameterizedConstructors, type));
544throw new InvalidOperationException(SR.Format(SR.Error_CannotBindToConstructorParameter, type, nameOfInvalidParameter));
552throw new InvalidOperationException(SR.Format(SR.Error_ConstructorParametersDoNotMatchProperties, type, nameOfInvalidParameters));
574throw new InvalidOperationException(SR.Format(SR.Error_FailedToActivate, type), ex);
577return instance ?? throw new InvalidOperationException(SR.Format(SR.Error_FailedToActivate, type));
754throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding,
793throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding,
810throw new InvalidOperationException(SR.Format(SR.Error_UnsupportedMultidimensionalArray, type));
849throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding,
920throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding,
961error = new InvalidOperationException(SR.Format(SR.Error_FailedBinding, path, type), ex);
974error = new InvalidOperationException(SR.Format(SR.Error_FailedBinding, path, type), ex);
1086throw new InvalidOperationException(SR.Format(SR.Error_ParameterBeingBoundToIsUnnamed, type));
1106throw new InvalidOperationException(SR.Format(SR.Error_ParameterHasNoMatchingConfig, type, parameterName));