Imported Upstream version 4.6.0.125

Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-03 10:59:49 +00:00
parent a569aebcfd
commit e79aa3c0ed
17047 changed files with 3137615 additions and 392334 deletions

View File

@@ -1,3 +0,0 @@
2008-10-14 Atsushi Enomoto <atsushi@ximian.com>
* AssemblyInfo.cs : initial checkin.

View File

@@ -1,21 +0,0 @@
2010-08-29 David Stone <david@gixug.com>
* Added DisplayAttribute
2009-06-23 Marek Habersack <mhabersack@novell.com
* System.ComponentModel.DataAnnotations.dll.sources: added
System.ComponentModel.DataAnnotations/AssociatedMetadataTypePropertyDescriptor.cs
2009-04-23 Marek Habersack <mhabersack@novell.com>
* System.ComponentModel.DataAnnotations_test.dll.sources: added
* System.ComponentModel.DataAnnotations.dll.sources: added
System.ComponentModel.DataAnnotations/AssociatedMetadataTypeTypeDescriptor.cs
* Makefile: enabled tests
2008-10-14 Atsushi Enomoto <atsushi@ximian.com>
* Makefile, System.ComponentModel.DataAnnotations.dll :
initial checkin.

View File

@@ -8,6 +8,6 @@ LIB_MCS_FLAGS = -nowarn:414
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
RESOURCE_STRINGS = ../../../external/referencesource/System.ComponentModel.DataAnnotations/System.ComponentModel.DataAnnotations.txt
TXT_RESOURCE_STRINGS = ../referencesource/System.ComponentModel.DataAnnotations/System.ComponentModel.DataAnnotations.txt
include ../../build/library.make

View File

@@ -0,0 +1,18 @@
//
// This file was generated by txt2sr tool
//
namespace System.ComponentModel.DataAnnotations.Resources
{
partial class DataAnnotationsResources
{
public const string MaxLengthAttribute_ValidationError = "The field {0} must be a string or array type with a maximum length of '{1}'.";
public const string MaxLengthAttribute_InvalidMaxLength = "MaxLengthAttribute must have a Length value that is greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length.";
public const string MinLengthAttribute_ValidationError = "The field {0} must be a string or array type with a minimum length of '{1}'.";
public const string MinLengthAttribute_InvalidMinLength = "MinLengthAttribute must have a Length value that is zero or greater.";
public const string ArgumentIsNullOrWhitespace = "The argument '{0}' cannot be null, empty or contain only white space.";
public const string RequiredAttribute_ValidationError = "The {0} field is required.";
public const string CompareAttribute_MustMatch = "'{0}' and '{1}' do not match.";
public const string RegexAttribute_ValidationError = "The field {0} must match the regular expression '{1}'.";
}
}

View File

@@ -1,12 +1,10 @@
namespace System.ComponentModel.DataAnnotations.Resources
{
static class DataAnnotationsResources
static partial class DataAnnotationsResources
{
public const string ArgumentIsNullOrWhitespace = "The argument '{0}' cannot be null, empty or contain only white space.";
public const string AssociatedMetadataTypeTypeDescriptor_MetadataTypeContainsUnknownProperties = "The associated metadata type for type '{0}' contains the following unknown properties or fields: {1}. Please make sure that the names of these members match the names of the properties on the main type.";
public const string AttributeStore_Unknown_Property = "The type '{0}' does not contain a public property named '{1}'.";
public const string Common_PropertyNotFound = "The property {0}.{1} could not be found.";
public const string CompareAttribute_MustMatch = "'{0}' and '{1}' do not match.";
public const string CompareAttribute_UnknownProperty = "Could not find a property named {0}.";
public const string CreditCardAttribute_Invalid = "The {0} field is not a valid credit card number.";
public const string CustomValidationAttribute_Method_Must_Return_ValidationResult = "The CustomValidationAttribute method '{0}' in type '{1}' must return System.ComponentModel.DataAnnotations.ValidationResult. Use System.ComponentModel.DataAnnotations.ValidationResult.Success to represent success.";
@@ -24,20 +22,14 @@ static class DataAnnotationsResources
public const string EnumDataTypeAttribute_TypeNeedsToBeAnEnum = "The type '{0}' needs to represent an enumeration type.";
public const string FileExtensionsAttribute_Invalid = "The {0} field only accepts files with the following extensions: {1}";
public const string LocalizableString_LocalizationFailed = "Cannot retrieve property '{0}' because localization failed. Type '{1}' is not public or does not contain a public static string property with the name '{2}'.";
public const string MaxLengthAttribute_InvalidMaxLength = "MaxLengthAttribute must have a Length value that is greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length.";
public const string MaxLengthAttribute_ValidationError = "The field {0} must be a string or array type with a maximum length of '{1}'.";
public const string MetadataTypeAttribute_TypeCannotBeNull = "MetadataClassType cannot be null.";
public const string MinLengthAttribute_InvalidMinLength = "MinLengthAttribute must have a Length value that is zero or greater.";
public const string MinLengthAttribute_ValidationError = "The field {0} must be a string or array type with a minimum length of '{1}'.";
public const string PhoneAttribute_Invalid = "The {0} field is not a valid phone number.";
public const string RangeAttribute_ArbitraryTypeNotIComparable = "The type {0} must implement {1}.";
public const string RangeAttribute_MinGreaterThanMax = "The maximum value '{0}' must be greater than or equal to the minimum value '{1}'.";
public const string RangeAttribute_Must_Set_Min_And_Max = "The minimum and maximum values must be set.";
public const string RangeAttribute_Must_Set_Operand_Type = "The OperandType must be set when strings are used for minimum and maximum values.";
public const string RangeAttribute_ValidationError = "The field {0} must be between {1} and {2}.";
public const string RegexAttribute_ValidationError = "The field {0} must match the regular expression '{1}'.";
public const string RegularExpressionAttribute_Empty_Pattern = "The pattern must be set to a valid regular expression.";
public const string RequiredAttribute_ValidationError = "The {0} field is required.";
public const string StringLengthAttribute_InvalidMaxLength = "The maximum length must be a nonnegative integer.";
public const string StringLengthAttribute_ValidationError = "The field {0} must be a string with a maximum length of {1}.";
public const string StringLengthAttribute_ValidationErrorIncludingMinimum = "The field {0} must be a string with a minimum length of {2} and a maximum length of {1}.";

View File

@@ -1,52 +1,53 @@
../../build/common/Consts.cs
Assembly/AssemblyInfo.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/AppSettings.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/AssociatedMetadataTypeTypeDescriptionProvider.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/AssociatedMetadataTypeTypeDescriptor.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/AssociationAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/BindableTypeAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/CompareAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ConcurrencyCheckAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/CreditCardAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/CustomValidationAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/DataType.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/DataTypeAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/DisplayAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/DisplayColumnAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/DisplayFormatAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/EditableAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/EmailAddressAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/EnumDataTypeAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/FileExtensionsAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/FilterUIHintAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/IValidatableObject.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/KeyAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/LocalizableString.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/MaxLengthAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/MetadataPropertyDescriptorWrapper.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/MetadataTypeAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/MinLengthAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/PhoneAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/RangeAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/RegularExpressionAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/RequiredAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ScaffoldAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/ColumnAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/ComplexTypeAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/DatabaseGeneratedAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/DatabaseGeneratedOption.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/ForeignKeyAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/InversePropertyAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/NotMappedAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/TableAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/StringLengthAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/TimestampAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/UIHintAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/UrlAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ValidationAttribute.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ValidationAttributeStore.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ValidationContext.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ValidationException.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ValidationResult.cs
../../../external/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Validator.cs
DataAnnotationsResources.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/AppSettings.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/AssociatedMetadataTypeTypeDescriptionProvider.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/AssociatedMetadataTypeTypeDescriptor.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/AssociationAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/BindableTypeAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/CompareAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ConcurrencyCheckAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/CreditCardAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/CustomValidationAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/DataType.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/DataTypeAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/DisplayAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/DisplayColumnAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/DisplayFormatAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/EditableAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/EmailAddressAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/EnumDataTypeAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/FileExtensionsAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/FilterUIHintAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/IValidatableObject.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/KeyAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/LocalizableString.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/MaxLengthAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/MetadataPropertyDescriptorWrapper.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/MetadataTypeAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/MinLengthAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/PhoneAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/RangeAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/RegularExpressionAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/RequiredAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ScaffoldAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/ColumnAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/ComplexTypeAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/DatabaseGeneratedAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/DatabaseGeneratedOption.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/ForeignKeyAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/InversePropertyAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/NotMappedAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Schema/TableAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/StringLengthAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/TimestampAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/UIHintAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/UrlAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ValidationAttribute.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ValidationAttributeStore.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ValidationContext.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ValidationException.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/ValidationResult.cs
../referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/Validator.cs
ReferenceSources/SR.cs
ReferenceSources/SR.missing.cs