10 references to Error
System.Web (10)
ModelBinding\GenericModelBinderProvider.cs (3)
96
throw
Error
.GenericModelBinderProvider_ParameterMustSpecifyOpenGenericType(modelType, "modelType");
100
throw
Error
.Common_TypeMustImplementInterface(modelBinderType, typeof(IModelBinder), "modelBinderType");
104
throw
Error
.GenericModelBinderProvider_TypeArgumentCountMismatch(modelType, modelBinderType);
ModelBinding\ModelBinderProviderCollection.cs (1)
39
throw
Error
.ModelBinderProviderCollection_BinderForTypeNotFound(bindingContext.ModelType);
ModelBinding\ModelBinderUtil.cs (4)
88
throw
Error
.ModelBinderUtil_ModelMetadataCannotBeNull();
96
throw
Error
.ModelBinderUtil_ModelTypeIsWrong(bindingContext.ModelType, requiredType);
100
throw
Error
.ModelBinderUtil_ModelCannotBeNull(requiredType);
104
throw
Error
.ModelBinderUtil_ModelInstanceIsWrong(bindingContext.Model.GetType(), requiredType);
ModelBinding\ModelBindingContext.cs (1)
142
throw
Error
.ModelBindingContext_ModelMetadataMustBeSet();
ModelBinding\MutableObjectModelBinder.cs (1)
167
throw
Error
.BindingBehavior_ValueNotFound(fullPropertyKey);