87 return base.ReadElementContentAsString();
103 text =
base.ReadElementContentAsString();
121 return base.ReadElementContentAsBoolean();
138 result =
base.BufferReader.ReadUInt8() != 0;
142 result =
base.ReadElementContentAsBoolean();
156 return base.ReadElementContentAsInt();
173 result =
base.BufferReader.ReadInt8();
178 result =
base.BufferReader.ReadInt16();
183 result =
base.BufferReader.ReadInt32();
187 result =
base.ReadElementContentAsInt();
197 return !
base.Signing;
211 float result =
base.BufferReader.ReadSingle();
215 return base.ReadElementContentAsFloat();
227 double result =
base.BufferReader.ReadDouble();
231 return base.ReadElementContentAsDouble();
243 decimal result =
base.BufferReader.ReadDecimal();
247 return base.ReadElementContentAsDecimal();
263 return base.ReadElementContentAsDateTime();
279 return base.ReadElementContentAsTimeSpan();
291 Guid result =
base.BufferReader.ReadGuid();
295 return base.ReadElementContentAsGuid();
311 return base.ReadElementContentAsUniqueId();
333 while (!flag && !
base.BufferReader.EndOfFile)
341 num =
base.BufferReader.ReadUInt8();
345 num =
base.BufferReader.ReadUInt16();
349 num =
base.BufferReader.ReadUInt31();
357 num =
base.BufferReader.ReadUInt8();
360 num =
base.BufferReader.ReadUInt16();
363 num =
base.BufferReader.ReadUInt31();
368 base.BufferReader.Advance(num);
369 if (
length2 >
int.MaxValue - num)
418 if (
base.Node.ExitScope)
431 if (
base.BufferReader.EndOfFile)
570 if (
base.OutsideRootElement)
577 if (
base.OutsideRootElement)
584 if (
base.OutsideRootElement)
591 if (
base.OutsideRootElement)
598 if (
base.OutsideRootElement)
605 if (
base.OutsideRootElement)
801 if (!
base.Node.Value.IsWhitespace())
821 num =
base.BufferReader.Offset;
869 ReadName(@
namespace.
Prefix);
870 ReadName(@
namespace.
Uri);
879 ReadName(@
namespace.
Uri);
888 ReadDictionaryName(@
namespace.
Uri);
896 ReadName(@
namespace.
Prefix);
897 ReadDictionaryName(@
namespace.
Uri);
982 if (
base.OutsideRootElement)
1013 byte @
byte =
base.BufferReader.GetByte(
num4);
1014 if ((@
byte & 0
x80) == 0 || (@
byte & 0
xC0) == 192)
1023 if (
base.OutsideRootElement)
1033 if (((uint)
length & (
true ? 1
u : 0
u)) != 0)
1070 if (((uint)
num2 & (
true ? 1
u : 0
u)) != 0)
1076 char c = (char)
base.BufferReader.GetInt16(
num3 +
num2 - 2);
1077 if (c >=
'\ud800' && c <
'\udc00')
1084 if (
base.OutsideRootElement)
1119 byte[]
array =
new byte[5]
1146 int offset =
base.BufferReader.ReadBytes(num);
1153 int offset =
base.BufferReader.ReadBytes(num);
1160 int offset =
base.BufferReader.ReadBytes(num);
1172 return base.BufferReader.GetNodeType();
1177 base.BufferReader.SkipNodeType();
1182 return base.BufferReader.ReadDictionaryKey();
1187 return base.BufferReader.ReadMultiByteUInt31();
1192 return base.BufferReader.ReadUInt8();
1197 return base.BufferReader.ReadUInt16();
1202 return base.BufferReader.ReadUInt31();
1344 return !
base.Signing;
1353 return !
base.Signing;
1388 base.BufferReader.UnsafeReadArray((
byte*)
ptr, (
byte*)(
ptr + num));
1418 base.BufferReader.UnsafeReadArray((
byte*)
ptr, (
byte*)(
ptr + num));
1448 base.BufferReader.UnsafeReadArray((
byte*)
ptr, (
byte*)(
ptr + num));
1478 base.BufferReader.UnsafeReadArray((
byte*)
ptr, (
byte*)(
ptr + num));
1508 base.BufferReader.UnsafeReadArray((
byte*)
ptr, (
byte*)(
ptr + num));
1538 base.BufferReader.UnsafeReadArray((
byte*)
ptr, (
byte*)(
ptr + num));
1568 base.BufferReader.UnsafeReadArray((
byte*)
ptr, (
byte*)(
ptr + num));
1596 for (
int i = 0; i < num; i++)
1626 for (
int i = 0; i < num; i++)
1656 for (
int i = 0; i < num; i++)
static readonly bool IsLittleEndian
static byte Min(byte val1, byte val2)
static byte Max(byte val1, byte val2)
static Exception ThrowHelperArgumentNull(string message)
static Exception ThrowHelperError(Exception e)
static string Format(string resourceFormat, object p1)
static string ValueMustBeNonNegative
static string SizeExceedsRemainingBufferSpace
static string OffsetExceedsBufferSize
void SetValue(PrefixHandleType type)
static PrefixHandleType GetAlphaPrefix(int index)
void SetValue(ValueHandleType type)
void SetDictionaryValue(int key)
override string LookupNamespace(string prefix)
XmlComplexTextNode MoveToComplexText()
XmlCommentNode MoveToComment()
void MoveToNode(XmlNode node)
XmlAtomicTextNode MoveToAtomicText()
void FixXmlAttribute(XmlAttributeNode attributeNode)
override XmlDictionaryReaderQuotas Quotas
XmlAttributeNode AddXmlnsAttribute(Namespace ns)
XmlAttributeNode AddAttribute()
override bool IsStartElement()
XmlElementNode EnterScope()
unsafe int ReadArray(bool[] array, int offset, int count)
int ReadMultiByteUInt31()
override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count)
void ReadName(PrefixHandle prefix)
int ReadArray(Guid[] array, int offset, int count)
void ReadTextWithEndElement()
override int ReadArray(string localName, string namespaceUri, int[] array, int offset, int count)
bool _isTextWithEndElement
void MoveToArrayElement()
void ReadAttributeText(XmlAttributeTextNode textNode)
bool IsValidArrayType(XmlBinaryNodeType nodeType)
unsafe int ReadArray(double[] array, int offset, int count)
override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count)
void SetInput(byte[] buffer, int offset, int count, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session, OnXmlDictionaryReaderClose onClose)
override int ReadArray(string localName, string namespaceUri, DateTime[] array, int offset, int count)
void ReadName(ValueHandle value)
override DateTime ReadElementContentAsDateTime()
override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count)
override int ReadArray(string localName, string namespaceUri, bool[] array, int offset, int count)
override XmlSigningNodeWriter CreateSigningNodeWriter()
override double ReadElementContentAsDouble()
override Guid ReadElementContentAsGuid()
override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count)
override bool ReadElementContentAsBoolean()
override bool IsStartArray([NotNullWhen(true)] out Type type)
override int ReadArray(string localName, string namespaceUri, decimal[] array, int offset, int count)
override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count)
bool IsStartArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, XmlBinaryNodeType nodeType)
XmlBinaryNodeType _arrayNodeType
void ReadName(StringHandle handle)
override decimal ReadElementContentAsDecimal()
void SkipArrayElements(int count)
unsafe int ReadArray(float[] array, int offset, int count)
override int ReadArray(string localName, string namespaceUri, double[] array, int offset, int count)
void InsertNode(XmlBinaryNodeType nodeType, int length)
void MoveToInitial(XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session, OnXmlDictionaryReaderClose onClose)
override float ReadElementContentAsFloat()
void ReadUnicodeText(bool withEndElement, int length)
override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, int[] array, int offset, int count)
void ReadDictionaryName(StringHandle s)
bool CanOptimizeReadElementContent()
XmlBinaryNodeType GetNodeType()
unsafe int ReadArray(int[] array, int offset, int count)
unsafe int ReadArray(short[] array, int offset, int count)
override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count)
void ReadPartialUnicodeText(bool withEndElement, int length)
override int ReadArray(string localName, string namespaceUri, TimeSpan[] array, int offset, int count)
void ReadText(XmlTextNode textNode, ValueHandleType type, int length)
unsafe int ReadArray(long[] array, int offset, int count)
override int ReadElementContentAsInt()
override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, long[] array, int offset, int count)
override int ReadArray(string localName, string namespaceUri, short[] array, int offset, int count)
override int ReadArray(string localName, string namespaceUri, Guid[] array, int offset, int count)
void CheckArray(Array array, int offset, int count)
int ReadArray(DateTime[] array, int offset, int count)
override int ReadArray(string localName, string namespaceUri, long[] array, int offset, int count)
int ReadArray(TimeSpan[] array, int offset, int count)
override int ReadArray(string localName, string namespaceUri, float[] array, int offset, int count)
override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count)
XmlAtomicTextNode MoveToAtomicTextWithEndElement()
override UniqueId ReadElementContentAsUniqueId()
void ReadBinaryText(XmlTextNode textNode, int length)
void SetInput(Stream stream, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session, OnXmlDictionaryReaderClose onClose)
void ReadPartialBinaryText(bool withEndElement, int length)
override bool TryGetBase64ContentLength(out int length)
unsafe int ReadArray(decimal[] array, int offset, int count)
bool IsStartArray(string localName, string namespaceUri, XmlBinaryNodeType nodeType)
override string ReadElementContentAsString()
void ReadPartialUTF8Text(bool withEndElement, int length)
override bool TryGetArrayLength(out int count)
override TimeSpan ReadElementContentAsTimeSpan()
override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, short[] array, int offset, int count)
int MaxStringContentLength
virtual void MoveToStartElement()
static void ThrowMaxStringContentLengthExceeded(XmlDictionaryReader reader, int maxStringContentLength)
static void ThrowInvalidBinaryFormat(XmlDictionaryReader reader)