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