[netcore] Remove local copy of static alc resolve methods
[mono-project.git] / mcs / class / referencesource / System.Runtime.Serialization / System.Runtime.Serialization.txt
blob974e298822297c295c89797ba95994891d7ddc13
1 #if INCLUDE_RUNTIME
2 #endif // INCLUDE_RUNTIME
4 #if INCLUDE_DEBUG
6 # System.Runtime.Serialization
8 ArrayExceededSize=Array length '{0}' provided by the get-only collection of type '{1}' is less than the number of array elements found in the input stream.  Consider increasing the length of the array.
9 ArrayExceededSizeAttribute=Array length '{0}' provided by Size attribute is not equal to the number of array elements '{1}' from namespace '{2}' found.
10 ArrayTypeIsNotSupported=An internal error has occurred. '{0}[]' is not supported when generating code for serialization.
11 CannotDeserializeRefAtTopLevel=Cannot deserialize since root element references unrecognized object with id '{0}'.
12 CannotLoadMemberType=Cannot load member type '{0}'.
13 CannotSerializeObjectWithCycles=Object graph for type '{0}' contains cycles and cannot be serialized if references are not tracked. Consider using the DataContractAttribute with the IsReference property set to true.
14 CanOnlyStoreIntoArgOrLocGot0=An internal error has occurred. Data can only be stored into ArgBuilder or LocalBuilder. Got: {0}.
15 CharIsInvalidPrimitive=An internal error has occurred. Char is not a valid schema primitive and should be treated as int in DataContract.
16 CallbackMustReturnVoid=Serialization Callback '{1}' in type '{0}' must return void. 
17 CallbackParameterInvalid=Serialization Callback '{1}' in type '{0}' must have a single parameter of type '{2}'. 
18 CallbacksCannotBeVirtualMethods=Virtual Method '{0}' of type '{1}' cannot be marked with '{2}' attribute. 
19 CollectionMustHaveAddMethod=Collection type '{0}' does not have a valid Add method.
20 CollectionMustHaveGetEnumeratorMethod=Collection type '{0}' does not have a valid GetEnumerator method.
21 CollectionMustHaveItemType=Collection type '{0}' must have a non-null item type.
22 CollectionTypeCannotBeBuiltIn={0} is a built-in type and cannot be a collection.
23 CollectionTypeCannotHaveDataContract={0} has DataContractAttribute attribute.
24 CollectionTypeDoesNotHaveAddMethod={0} does not have a valid Add method with parameter of type '{1}'.
25 CollectionTypeDoesNotHaveDefaultCtor={0} does not have a default constructor.
26 CollectionTypeHasMultipleDefinitionsOfInterface={0} has multiple definitions of interface '{1}'.
27 CollectionTypeIsNotIEnumerable={0} does not implement IEnumerable interface.
28 DataContractCacheOverflow=An internal error has occurred. DataContract cache overflow.
29 DataContractNamespaceAlreadySet=ContractNamespaceAttribute attribute maps CLR namespace '{2}' to multiple data contract namespaces '{0}' and '{1}'. You can map a CLR namespace to only one data contract namespace.
30 DataContractNamespaceIsNotValid=DataContract namespace '{0}' is not a valid URI.
31 DataContractNamespaceReserved=DataContract namespace '{0}' cannot be specified since it is reserved.
32 DataMemberOnEnumField=Member '{0}.{1}' has DataMemberAttribute attribute. Use EnumMemberAttribute attribute instead.
33 DcTypeNotFoundOnDeserialize=Element '{2}:{3}' contains data of the '{0}:{1}' data contract. The deserializer has no knowledge of any type that maps to this contract. Add the type corresponding to '{1}' to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer.
34 DcTypeNotFoundOnSerialize=Type '{0}' with data contract name '{1}:{2}' is not expected. Add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.
35 DcTypeNotResolvedOnDeserialize=Element '{2}:{3}' contains data from a type that maps to the name '{0}:{1}'. The deserializer has no knowledge of any type that maps to this name. Consider changing the implementation of the ResolveName method on your DataContractResolver to return a non-null value for name '{1}' and namespace '{0}'.
36 DeserializedObjectWithIdNotFound=Deserialized object with reference id '{0}' not found in stream.
37 DupContractInKnownTypes=Type '{0}' cannot be added to list of known types since another type '{1}' with the same data contract name '{2}:{3}' is already present.
38 DupKeyValueName=The collection data contract type '{0}' specifies the same value '{1}' for both the KeyName and the ValueName properties. This is not allowed. Consider changing either the KeyName or the ValueName property.
39 DupEnumMemberValue=Type '{2}' contains two members '{0}' 'and '{1}' with the same name '{3}'. Multiple members with the same name in one type are not supported. Consider changing one of the member names using EnumMemberAttribute attribute.
40 DupMemberName=Type '{2}' contains two members '{0}' 'and '{1}' with the same data member name '{3}'. Multiple members with the same name in one type are not supported. Consider changing one of the member names using DataMemberAttribute attribute.
41 DuplicateAttribute=Invalid Callback. Method '{3}' in type '{2}' has both '{0}' and '{1}'. 
42 DuplicateCallback=Invalid attribute. Both '{0}' and '{1}' in type '{2}' have '{3}'. 
43 EncounteredWithNameNamespace={0}. Encountered '{1}'  with name '{2}', namespace '{3}'.
44 EnumTypeCannotHaveIsReference=Enum type '{0}' cannot have the IsReference setting of '{1}'. Either change the setting to '{2}', or remove it completely.
45 ErrorDeserializing=There was an error deserializing the object {0}. {1}
46 ErrorInLine=Error in line {0} position {1}.
47 ErrorIsStartObject=There was an error checking start element of object {0}. {1}
48 ErrorSerializing=There was an error serializing the object {0}. {1}
49 ErrorTypeInfo=of type {0}
50 ErrorWriteEndObject=There was an error writing end element of object {0}. {1}
51 ErrorWriteStartObject=There was an error writing start element of object {0}. {1}
52 ExceededMaxItemsQuota=Maximum number of items that can be serialized or deserialized in an object graph is '{0}'.
53 ExpectingElement=Expecting element '{1}' from namespace '{0}'.
54 ExpectingElementAtDeserialize=Expecting state '{0}' when ReadObject is called.
55 ExpectingEnd=Expecting End'{0}'.
56 ExpectingState=Expecting state '{0}'.
57 GenericNameBraceMismatch=The data contract name '{0}' for type '{1}' has a curly brace '{{' that is not matched with a closing curly brace. Curly braces have special meaning in data contract names - they are used to customize the naming of data contracts for generic types.
58 GenericParameterNotValid=In the data contract name for type '{1}', there are curly braces with '{0}' inside, which is an invalid value. Curly braces have special meaning in data contract names - they are used to customize the naming of data contracts for generic types. Based on the number of generic parameters this type has, the contents of the curly braces must either be a number between 0 and '{2}' to insert the name of the generic parameter at that index or the '#' symbol to insert a digest of the generic parameter namespaces.
59 InconsistentIsReference=The IsReference setting for type '{0}' is '{1}', but the same setting for its parent class '{2}' is '{3}'. Derived types must have the same value for IsReference as the base type. Change the setting on type '{0}' to '{3}', or on type '{2}' to '{1}', or do not set IsReference explicitly.
60 IndexedPropertyCannotBeSerialized=Property '{1}' in type '{0}' cannot be serialized because serialization of indexed properties is not supported.
61 InterfaceTypeCannotBeCreated=Interface type '{0}' cannot be created. Consider replacing with a non-interface serializable type.
62 InvalidCollectionContractItemName=Type '{0}' cannot have CollectionDataContractAttribute attribute ItemName set to null or empty string.
63 InvalidCollectionContractKeyName=Type '{0}' cannot have CollectionDataContractAttribute attribute KeyName set to null or empty string.
64 InvalidCollectionContractKeyNoDictionary=The collection data contract type '{0}' specifies '{1}' for the KeyName property. This is not allowed since the type is not IDictionary. Remove the setting for the KeyName property.
65 InvalidCollectionContractName=Type '{0}' cannot have CollectionDataContractAttribute attribute Name set to null or empty string.
66 InvalidCollectionContractNamespace=Type '{0}' cannot have CollectionDataContractAttribute attribute Namespace set to null.
67 InvalidCollectionContractValueName=Type '{0}' cannot have CollectionDataContractAttribute attribute ValueName set to null or empty string.
68 InvalidCollectionContractValueNoDictionary=The collection data contract type '{0}' specifies '{1}' for the ValueName property. This is not allowed since the type is not IDictionary. Remove the setting for the ValueName property.
69 InvalidCollectionDataContract=Type '{0}' with CollectionDataContractAttribute attribute is an invalid collection type since it
70 InvalidCollectionType=Type '{0}' is an invalid collection type since it
71 InvalidDataContractName=Type '{0}' cannot have DataContractAttribute attribute Name set to null or empty string.
72 InvalidDataContractNamespace=Type '{0}' cannot have DataContractAttribute attribute Namespace set to null.
73 InvalidDataMemberName=Member '{0}' in type '{1}' cannot have DataMemberAttribute attribute Name set to null or empty string.
74 InvalidEnumMemberValue='{0}' in type '{1}' cannot have EnumMemberAttribute attribute Value set to null or empty string.
75 InvalidEnumValueOnRead=Invalid enum value '{0}' cannot be deserialized into type '{1}'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.
76 InvalidEnumValueOnWrite=Enum value '{0}' is invalid for type '{1}' and cannot be serialized. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.
77 InvalidGetSchemaMethod=Type '{0}' cannot have MethodName on XmlSchemaProviderAttribute attribute set to null or empty string. 
78 InvalidGlobalDataContractNamespace=CLR namespace '{0}' cannot have ContractNamespace set to null.
79 InvalidMember=Member '{0}.{1}' cannot be serialized since it is neither a field nor a property, and therefore cannot be marked with the DataMemberAttribute attribute. Remove the DataMemberAttribute attribute from the '{1}' member.
80 InvalidNonNullReturnValueByIsAny=Method '{0}.{1}()' returns a non-null value. The return value must be null since IsAny=true.
81 InvalidPrimitiveType=Type '{0}' is not a valid serializable type.
82 InvalidReturnTypeOnGetSchemaMethod=Method '{0}.{1}()' returns '{2}'. The return type must be compatible with '{3}'.
83 InvalidSizeDefinition=Invalid Size '{0}'. Must be non-negative integer.
84 InvalidXmlDataContractName=XML data contract Name for type '{0}' cannot be set to null or empty string.
85 InvalidXsIdDefinition=Invalid Id '{0}'. Must not be null or empty.
86 InvalidXsRefDefinition=Invalid Ref '{0}'. Must not be null or empty.
87 IsAnyCannotBeNull=A null value cannot be serialized at the top level for IXmlSerializable root type '{0}' since its IsAny setting is 'true'. This type must write all its contents including the root element. Verify that the IXmlSerializable implementation is correct.
88 IsAnyCannotBeSerializedAsDerivedType=An object of type '{0}' cannot be serialized at the top level for IXmlSerializable root type '{1}' since its IsAny setting is 'true'. This type must write all its contents including the root element. Verify that the IXmlSerializable implementation is correct.
89 IsAnyCannotHaveXmlRoot=Type '{0}' cannot specify an XmlRootAttribute attribute because its IsAny setting is 'true'. This type must write all its contents including the root element. Verify that the IXmlSerializable implementation is correct.
90 IsNotAssignableFrom=An internal error has occurred. '{0}' is not assignable from '{1}' - error generating code for serialization.
91 IsRequiredDataMemberOnIsReferenceDataContractType='{0}.{1}' has the IsRequired setting of '{2}. However, '{0}' has the IsReference setting of '{2}', because either it is set explicitly, or it is derived from a base class. Set IsRequired on '{0}.{1}' to false, or disable IsReference on '{0}'.
92 IXmlSerializableCannotHaveCollectionDataContract=Type '{0}' cannot be IXmlSerializable and have CollectionDataContractAttribute attribute.
93 IXmlSerializableCannotHaveDataContract=Type '{0}' cannot be IXmlSerializable and have DataContractAttribute attribute.
94 IXmlSerializableIllegalOperation=This method cannot be called from IXmlSerializable implementations.
95 IXmlSerializableMissingEndElements=IXmlSerializable.WriteXml method of type '{0}' did not close all open tags. Verify that the IXmlSerializable implementation is correct.
96 IXmlSerializableMustHaveDefaultConstructor=IXmlSerializable Type '{0}' must have default constructor.
97 IXmlSerializableWritePastSubTree=IXmlSerializable.WriteXml method of type '{0}' attempted to close too many tags.  Verify that the IXmlSerializable implementation is correct.
98 KnownTypeAttributeEmptyString=Method name specified by KnownTypeAttribute attribute on type '{0}' cannot be the empty string.
99 KnownTypeAttributeUnknownMethod=KnownTypeAttribute attribute on type '{1}' specifies a method named '{0}' to provide known types. Static method '{0}()' was not found on this type. Ensure that the method exists and is marked as static.
100 KnownTypeAttributeReturnType=KnownTypeAttribute attribute on type '{0}' specifies a method named '{1}' to provide known types. The return type of this method is invalid because it is not assignable to IEnumerable<Type>. Ensure that the method exists and has a valid signature.
101 KnownTypeAttributeOneScheme=Type '{0}': If a KnownTypeAttribute attribute specifies a method it must be the only KnownTypeAttribute attribute on that type.
102 ;KnownTypeAttributeNoType=KnownTypeAttribute attribute on type '{0}' contains no Type.
103 KnownTypeConfigClosedGenericDeclared=Declared type '{0}' in config cannot be a closed or partial generic type.
104 KnownTypeAttributeValidMethodTypes=Method specified by KnownTypeAttribute attribute on type '{0}' does not expose valid types.
105 KnownTypeAttributeNoData=KnownTypeAttribute attribute on type '{0}' contains no data.
106 KnownTypeAttributeMethodNull=Method specified by KnownTypeAttribute attribute on type '{0}' returned null.
107 MaxArrayLengthExceeded=The maximum array length ({0}) has been exceeded while reading XML data for array of type '{1}'.
108 MissingGetSchemaMethod=Type '{0}' does not have a static method '{1}' that takes a parameter of type 'System.Xml.Schema.XmlSchemaSet' as specified by the XmlSchemaProviderAttribute attribute.
109 MultipleIdDefinition=Invalid XML encountered. The same Id value '{0}' is defined more than once. Multiple objects cannot be deserialized using the same Id.
110 NoConversionPossibleTo=An internal error has occurred. No conversion is possible to '{0}' - error generating code for serialization.
111 NoGetMethodForProperty=No get method for property '{1}' in type '{0}'.
112 NoSetMethodForProperty=No set method for property '{1}' in type '{0}'.
113 NullKnownType=One of the known types provided to the serializer via '{0}' argument was invalid because it was null. All known types specified must be non-null values.
114 NullValueReturnedForGetOnlyCollection=The get-only collection of type '{0}' returned a null value.  The input stream contains collection items which cannot be added if the instance is null.  Consider initializing the collection either in the constructor of the the object or in the getter.
115 ObjectTableOverflow=An internal error has occurred. Object table overflow. This could be caused by serializing or deserializing extremely large object graphs.
116 OrderCannotBeNegative=Property 'Order' in DataMemberAttribute attribute cannot be a negative number.
117 ParameterCountMismatch=Invalid number of parameters to call method '{0}'. Expected '{1}' parameters, but '{2}' were provided.
118 PartialTrustCollectionContractAddMethodNotPublic=The collection data contract type '{0}' cannot be deserialized because the method '{1}' is not public. Making the method public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
119 PartialTrustCollectionContractNoPublicConstructor=The collection data contract type '{0}' cannot be deserialized because it does not have a public parameterless constructor. Adding a public parameterless constructor will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
120 PartialTrustCollectionContractTypeNotPublic=The collection data contract type '{0}' cannot be deserialized because it does not have a public parameterless constructor. Adding a public parameterless constructor will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
121 PartialTrustDataContractOnSerializingNotPublic=The data contract type '{0}' cannot be serialized because the OnSerializing method '{1}' is not public. Making the method public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
122 PartialTrustDataContractOnSerializedNotPublic=The data contract type '{0}' cannot be serialized because the OnSerialized method '{1}' is not public. Making the method public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
123 PartialTrustDataContractOnDeserializingNotPublic=The data contract type '{0}' cannot be deserialized because the OnDeserializing method '{1}' is not public. Making the method public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
124 PartialTrustDataContractOnDeserializedNotPublic=The data contract type '{0}' cannot be deserialized because the OnDeserialized method '{1}' is not public. Making the method public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
125 PartialTrustDataContractFieldGetNotPublic=The data contract type '{0}' cannot be serialized because the member '{1}' is not public. Making the member public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
126 PartialTrustDataContractFieldSetNotPublic=The data contract type '{0}' cannot be deserialized because the member '{1}' is not public. Making the member public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
127 PartialTrustDataContractPropertyGetNotPublic=The data contract type '{0}' cannot be serialized because the property '{1}' does not have a public getter. Adding a public getter will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
128 PartialTrustDataContractPropertySetNotPublic=The data contract type '{0}' cannot be deserialized because the property '{1}' does not have a public setter. Adding a public setter will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
129 PartialTrustDataContractTypeNotPublic=The data contract type '{0}' is not serializable because it is not public. Making the type public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
130 PartialTrustNonAttributedSerializableTypeNoPublicConstructor=The type '{0}' cannot be deserialized because it does not have a public parameterless constructor. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
131 PartialTrustIXmlSerializableTypeNotPublic=The IXmlSerializable type '{0}' is not serializable in partial trust because it is not public. Adding a public parameterless constructor will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
132 PartialTrustIXmlSerialzableNoPublicConstructor=The IXmlSerializable type '{0}' cannot be deserialized because it does not have a public parameterless constructor. Adding a public parameterless constructor will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
133 NonAttributedSerializableTypesMustHaveDefaultConstructor=The Type '{0}' must have a parameterless constructor.
134 AttributedTypesCannotInheritFromNonAttributedSerializableTypes=Type '{0}' cannot inherit from a type that is not marked with DataContractAttribute or SerializableAttribute.  Consider marking the base type '{1}' with DataContractAttribute or SerializableAttribute, or removing them from the derived type.
135 ;GetOnlyCollectionsNotSupported=Get-only collection properties are not supported.  Consider adding a public setter to property '{0}.{1}' or marking the it with the IgnoreDataMemberAttribute. 
136 QuotaMustBePositive=Quota must be a positive value.
137 QuotaIsReadOnly=The '{0}' quota is readonly.
138 QuotaCopyReadOnly=Cannot copy XmlDictionaryReaderQuotas. Target is readonly.
139 RequiredMemberMustBeEmitted=Member {0} in type {1} cannot be serialized. This exception is usually caused by trying to use a null value where a null value is not allowed. The '{0}' member is set to its default value (usually null or zero). The member's EmitDefault setting is 'false', indicating that the member should not be serialized. However, the member's IsRequired setting is 'true', indicating that it must be serialized. This conflict cannot be resolved.  Consider setting '{0}' to a non-default value. Alternatively, you can change the EmitDefaultValue property on the DataMemberAttribute attribute to true, or changing the IsRequired property to false.
140 ResolveTypeReturnedFalse=An object of type '{0}' which derives from DataContractResolver returned false from its TryResolveType method when attempting to resolve the name for an object of type '{1}', indicating that the resolution failed. Change the TryResolveType implementation to return true.
141 ResolveTypeReturnedNull=An object of type '{0}' which derives from DataContractResolver returned a null typeName or typeNamespace but not both from its TryResolveType method when attempting to resolve the name for an object of type '{1}'. Change the TryResolveType implementation to return non-null values, or to return null values for both typeName and typeNamespace in order to serialize as the declared type.
142 SupportForMultidimensionalArraysNotPresent=Multi-dimensional arrays are not supported.
143 TooManyCollectionContracts=Type '{0}' has more than one CollectionDataContractAttribute attribute.
144 TooManyDataContracts=Type '{0}' has more than one DataContractAttribute attribute.
145 TooManyDataMembers=Member '{0}.{1}' has more than one DataMemberAttribute attribute.
146 TooManyEnumMembers=Member '{0}.{1}' has more than one EnumMemberAttribute attribute.
147 TooManyIgnoreDataMemberAttributes=Member '{0}.{1}' has more than one IgnoreDataMemberAttribute attribute.
148 ;TypeMustBeConcrete=Error while getting known types for Type '{0}'. The type must not be an open or partial generic class.
149 TypeNotSerializable=Type '{0}' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. Alternatively, you can ensure that the type is public and has a parameterless constructor - all public members of the type will then be serialized, and no attributes will be required.
150 UnexpectedContractType=An internal error has occurred. Unexpected contract type '{0}' for type '{1}' encountered.
151 UnexpectedElementExpectingElements='{0}' '{1}' from namespace '{2}' is not expected. Expecting element '{3}'.
152 UnexpectedEndOfFile=Unexpected end of file.
153 UnknownConstantType=Unrecognized constant type '{0}'.
154 UnsupportedIDictionaryAsDataMemberType=Cannot deserialize one of the DataMember because it is an IDictionary. Use IDictionary<K,V> instead.
155 ValueMustBeNonNegative=The value of this argument must be non-negative.
156 ValueTypeCannotBeNull=ValueType '{0}' cannot be null.
157 ValueTypeCannotHaveBaseType=Data contract '{0}' from namespace '{1}' is a value type and cannot have base contract '{2}' from namespace '{3}'.
158 ValueTypeCannotHaveId=ValueType '{0}' cannot have id.
159 ValueTypeCannotHaveIsReference=Value type '{0}' cannot have the IsReference setting of '{1}'. Either change the setting to '{2}', or remove it completely. 
160 ValueTypeCannotHaveRef=ValueType '{0}' cannot have ref to another object.
161 XmlElementAttributes=Only Element nodes have attributes.
162 XmlForObjectCannotHaveContent=Element {0} from namespace {1} cannot have child contents to be deserialized as an object. Please use XElement to deserialize this pattern of XML.
163 XmlInvalidConversion=The value '{0}' cannot be parsed as the type '{1}'.
164 XmlInvalidConversionWithoutValue=The value cannot be parsed as the type '{0}'.
165 XmlStartElementExpected=Start element expected. Found {0}.
166 XmlWriterMustBeInElement=WriteState '{0}' not valid. Caller must write start element before serializing in contentOnly mode.
167 NonOptionalFieldMemberOnIsReferenceSerializableType={0}.{1}' is not marked with OptionalFieldAttribute, thus indicating that it must be serialized. However, '{0}' derives from a class marked with DataContractAttribute and an IsReference setting of '{2}'. It is not possible to have required data members on IsReference classes. Either decorate '{0}.{1}' with OptionalFieldAttribute, or disable the IsReference setting on the appropriate parent class.
169 # System.Text
171 OffsetExceedsBufferSize=The specified offset exceeds the buffer size ({0} bytes).
172 SizeExceedsRemainingBufferSpace=The specified size exceeds the remaining buffer space ({0} bytes).
173 ValueMustBeInRange=The value of this argument must fall within the range {0} to {1}.
174 XmlArrayTooSmallOutput=Array too small.  Must be able to hold at least {0}.
175 XmlInvalidBase64Length=Base64 sequence length ({0}) not valid. Must be a multiple of 4.
176 XmlInvalidBase64Sequence=The characters '{0}' at offset {1} are not a valid Base64 sequence.
177 XmlInvalidBinHexLength=BinHex sequence length ({0}) not valid. Must be a multiple of 2.
178 XmlInvalidBinHexSequence=The characters '{0}' at offset {1} are not a valid BinHex sequence.
179 XmlInvalidHighSurrogate=High surrogate char '0x{0}' not valid. High surrogate chars range from 0xD800 to 0xDBFF.
180 XmlInvalidLowSurrogate=Low surrogate char '0x{0}' not valid. Low surrogate chars range from 0xDC00 to 0xDFFF.
181 XmlInvalidSurrogate=Surrogate char '0x{0}' not valid. Surrogate chars range from 0x10000 to 0x10FFFF.
183 # System.Xml
184 ;CombinedPrefixNSLength=The combined length of the prefix and namespace must not be greater than {0}.
185 ;InvalidInclusivePrefixListCollection=The inclusive namespace prefix collection cannot contain null as one of the items.
186 InvalidLocalNameEmpty=The empty string is not a valid local name.
187 ;QuotaCopyReadOnly=Cannot copy XmlDictionaryReaderQuotas. Target is readonly.
188 ;QuotaIsReadOnly=The '{0}' quota is readonly.
189 ;QuotaMustBePositive=Quota must be a positive value.
190 XmlArrayTooSmall=Array too small.
191 XmlArrayTooSmallInput=Array too small.  Length of available data must be at least {0}.
192 XmlBadBOM=Unrecognized Byte Order Mark.
193 XmlBase64DataExpected=Base64 encoded data expected. Found {0}.
194 XmlCDATAInvalidAtTopLevel=CData elements not valid at top level of an XML document.
195 XmlCloseCData=']]>' not valid in text node content.
196 XmlConversionOverflow=The value '{0}' cannot be represented with the type '{1}'.
197 XmlDeclarationRequired=An XML declaration with an encoding is required for all non-UTF8 documents.
198 XmlDeclMissingVersion=Version not found in XML declaration.
199 XmlDeclMissing=An XML declaration is required for all non-UTF8 documents.
200 XmlDeclNotFirst=No characters can appear before the XML declaration.
201 XmlDictionaryStringIDRange=XmlDictionaryString IDs must be in the range from {0} to {1}.
202 XmlDictionaryStringIDUndefinedSession=XmlDictionaryString ID {0} not defined in the XmlBinaryReaderSession.
203 XmlDictionaryStringIDUndefinedStatic=XmlDictionaryString ID {0} not defined in the static dictionary.
204 XmlDuplicateAttribute=Duplicate attribute found. Both '{0}' and '{1}' are from the namespace '{2}'.
205 XmlEmptyNamespaceRequiresNullPrefix=The empty namespace requires a null or empty prefix.
206 XmlEncodingMismatch=The encoding in the declaration '{0}' does not match the encoding of the document '{1}'.
207 XmlEncodingNotSupported=XML encoding not supported.
208 XmlEndElementExpected=End element '{0}' from namespace '{1}' expected. Found {2}.
209 XmlEndElementNoOpenNodes=No corresponding start element is open.
210 XmlExpectedEncoding=The expected encoding '{0}' does not match the actual encoding '{1}'.
211 XmlFoundCData=cdata '{0}'
212 XmlFoundComment=comment '{0}'
213 XmlFoundElement=element '{0}' from namespace '{1}'
214 XmlFoundEndElement=end element '{0}' from namespace '{1}'
215 XmlFoundEndOfFile=end of file
216 XmlFoundNodeType=node {0}
217 XmlFoundText=text '{0}'
218 XmlFullStartElementExpected=Non-empty start element expected. Found {0}.
219 XmlFullStartElementLocalNameNsExpected=Non-empty start element '{0}' from namespace '{1}' expected. Found {2}.
220 XmlFullStartElementNameExpected=Non-empty start element '{0}' expected. Found {1}.
221 XmlIDDefined=ID already defined.
222 XmlKeyAlreadyExists=The specified key already exists in the dictionary.
223 XmlIllegalOutsideRoot=Text cannot be written outside the root element.
224 XmlInvalidBytes=Invalid byte encoding.
225 XmlInvalidCharRef=Character reference not valid.
226 XmlInvalidCommentChars=XML comments cannot contain '--' or end with '-'.
227 XmlInvalidDeclaration=XML declaration can only be written at the beginning of the document.
228 XmlInvalidDepth=Cannot call '{0}' while Depth is '{1}'.
229 XmlInvalidEncoding=XML encoding must be 'UTF-8'.
230 XmlInvalidFFFE=Characters with hexadecimal values 0xFFFE and 0xFFFF are not valid.
231 XmlInvalidFormat=The input source is not correctly formatted.
232 XmlInvalidID=ID must be >= 0.
233 XmlInvalidOperation=The reader cannot be advanced.
234 XmlInvalidPrefixState=A prefix cannot be defined while WriteState is '{0}'.
235 XmlInvalidQualifiedName=Expected XML qualified name. Found '{0}'.
236 XmlInvalidRootData=The data at the root level is invalid.
237 XmlInvalidStandalone='standalone' value in declaration must be 'yes' or 'no'.
238 ;XmlInvalidStream=Stream returned by IStreamProvider cannot be null.
239 XmlInvalidUniqueId=UniqueId cannot be zero length.
240 XmlInvalidUTF8Bytes='{0}' contains invalid UTF8 bytes.
241 XmlInvalidVersion=XML version must be '1.0'.
242 XmlInvalidWriteState='{0}' cannot be called while WriteState is '{1}'.
243 XmlInvalidXmlByte=The byte 0x{0} is not valid at this location.
244 XmlInvalidXmlSpace='{0}' is not a valid xml:space value. Valid values are 'default' and 'preserve'.
245 XmlLineInfo=Line {0}, position {1}.
246 XmlMalformedDecl=Malformed XML declaration.
247 XmlMaxArrayLengthExceeded=The maximum array length quota ({0}) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader.
248 XmlMaxBytesPerReadExceeded=The 'maximum bytes per Read operation' quota ({0}) has been exceeded while reading XML data. Long element start tags (consisting of the element name, attribute names and attribute values) may trigger this quota. This quota may be increased by changing the MaxBytesPerRead property on the XmlDictionaryReaderQuotas object used when creating the XML reader.
249 #XmlMaxDepthExceeded=The maximum read depth ({0}) has been exceeded because XML data being read has more levels of nesting than is allowed by the quota. This quota may be increased by changing the MaxDepth property on the XmlDictionaryReaderQuotas object used when creating the XML reader.
250 XmlMaxNameTableCharCountExceeded=The maximum nametable character count quota ({0}) has been exceeded while reading XML data. The nametable is a data structure used to store strings encountered during XML processing - long XML documents with non-repeating element names, attribute names and attribute values may trigger this quota. This quota may be increased by changing the MaxNameTableCharCount property on the XmlDictionaryReaderQuotas object used when creating the XML reader.
251 #XmlMaxStringContentLengthExceeded=The maximum string content length quota ({0}) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader.
252 XmlMethodNotSupported=This XmlWriter implementation does not support the '{0}' method.
253 XmlMissingLowSurrogate=The surrogate pair is invalid. Missing a low surrogate character.
254 XmlMultipleRootElements=There are multiple root elements.
255 XmlNamespaceNotFound=The namespace '{0}' is not defined.
256 XmlNestedArraysNotSupported=Nested arrays are not supported.
257 XmlNoRootElement=The document does not have a root element.
258 XmlOnlyOneRoot=Only one root element is permitted per document.
259 XmlOnlyWhitespace=Only white space characters can be written with this method.
260 XmlOnlySingleValue=Only a single typed value may be written inside an attribute or content.
261 XmlPrefixBoundToNamespace=The prefix '{0}' is bound to the namespace '{1}' and cannot be changed to '{2}'.
262 XmlProcessingInstructionNotSupported=Processing instructions (other than the XML declaration) and DTDs are not supported.
263 XmlReservedPrefix=Prefixes beginning with "xml" (regardless of casing) are reserved for use by XML.
264 XmlSpaceBetweenAttributes=Whitespace must appear between attributes.
265 XmlSpecificBindingNamespace=The namespace '{1}' can only be bound to the prefix '{0}'.
266 XmlSpecificBindingPrefix=The prefix '{0}' can only be bound to the namespace '{1}'.
267 XmlStartElementLocalNameNsExpected=Start element '{0}' from namespace '{1}' expected. Found {2}.
268 XmlStartElementNameExpected=Start element '{0}' expected. Found {1}.
269 XmlTagMismatch=Start element '{0}' does not match end element '{1}'.
270 XmlTokenExpected=The token '{0}' was expected but found '{1}'.
271 XmlUndefinedPrefix=The prefix '{0}' is not defined.
272 XmlUnexpectedEndElement=No matching start tag for end element.
273 XmlUnexpectedEndOfFile=Unexpected end of file. Following elements are not closed: {0}.
274 XmlWriterClosed=The XmlWriter is closed.
275 ;Xml_InvalidNmToken=Invalid NmToken value '{0}'.
277 #endif // INCLUDE_DEBUG