5 references to MaxKey
System.Runtime.Serialization (5)
System\Xml\XmlBufferReader.cs (2)
1237if (sessionKey < XmlDictionaryString.MinKey || sessionKey > XmlDictionaryString.MaxKey) 1250if (staticKey < XmlDictionaryString.MinKey || staticKey > XmlDictionaryString.MaxKey)
System\Xml\XmlDictionaryString.cs (2)
29if (key < MinKey || key > MaxKey) 30throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("key", SR.GetString(SR.ValueMustBeInRange, MinKey, MaxKey)));
System\Xml\XmlExceptionHelper.cs (1)
253ThrowXmlException(reader, SR.XmlDictionaryStringIDRange, XmlDictionaryString.MinKey.ToString(NumberFormatInfo.CurrentInfo), XmlDictionaryString.MaxKey.ToString(NumberFormatInfo.CurrentInfo));