ConfigurationBinder.cs (36)
240throw new InvalidOperationException(SR.Format(SR.Error_MissingConfig,
508throw new InvalidOperationException(SR.Format(SR.Error_FailedBinding, configValue, section.Path, type));
563throw new InvalidOperationException(SR.Format(SR.Error_CannotActivateAbstractOrInterface, type));
573throw new InvalidOperationException(SR.Format(SR.Error_MissingPublicInstanceConstructor, type));
578throw new InvalidOperationException(SR.Format(SR.Error_MultipleParameterizedConstructors, type));
588throw new InvalidOperationException(SR.Format(SR.Error_CannotBindToConstructorParameter, type, nameOfInvalidParameter));
596throw new InvalidOperationException(SR.Format(SR.Error_ConstructorParametersDoNotMatchProperties, type, nameOfInvalidParameters));
618throw new InvalidOperationException(SR.Format(SR.Error_FailedToActivate, type), ex);
621return instance ?? throw new InvalidOperationException(SR.Format(SR.Error_FailedToActivate, type));
803throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding,
842throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding,
859throw new InvalidOperationException(SR.Format(SR.Error_UnsupportedMultidimensionalArray, type));
898throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding,
969throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding,
1012error = new InvalidOperationException(SR.Format(SR.Error_FailedBinding, value, path, type), ex);
1028error = new InvalidOperationException(SR.Format(SR.Error_FailedBinding, value, path, type), ex);
1148throw new InvalidOperationException(SR.Format(SR.Error_ParameterBeingBoundToIsUnnamed, type));
1168throw new InvalidOperationException(SR.Format(SR.Error_ParameterHasNoMatchingConfig, type, parameterName));