Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Runtime.Serialization.Json.XmlJsonReader Class Referencesealed

Classes

class  CharType
 

Public Member Functions

override void Close ()
 
override void EndCanonicalization ()
 
override string GetAttribute (int index)
 
override string GetAttribute (string localName, string namespaceUri)
 
override string GetAttribute (string name)
 
override string GetAttribute (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override bool Read ()
 
override decimal ReadContentAsDecimal ()
 
override int ReadContentAsInt ()
 
override long ReadContentAsLong ()
 
override int ReadValueAsBase64 (byte[] buffer, int offset, int count)
 
override int ReadValueChunk (char[] chars, int offset, int count)
 
void SetInput (byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose)
 
void SetInput (Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose)
 
override void StartCanonicalization (Stream stream, bool includeComments, string[] inclusivePrefixes)
 
stringGetAttribute (string name, string? namespaceURI)
 
override string LookupNamespace (string prefix)
 
override void MoveToAttribute (int index)
 
override bool MoveToAttribute (string name)
 
override bool MoveToAttribute (string localName, string namespaceUri)
 
bool MoveToAttribute (string name, string? ns)
 
override bool MoveToElement ()
 
override XmlNodeType MoveToContent ()
 
override bool MoveToFirstAttribute ()
 
override bool MoveToNextAttribute ()
 
override bool IsLocalName (string localName)
 
override bool IsLocalName (XmlDictionaryString localName)
 
override bool IsNamespaceUri (string namespaceUri)
 
override bool IsNamespaceUri (XmlDictionaryString namespaceUri)
 
override bool IsStartElement ()
 
override bool IsStartElement (string name)
 
override bool IsStartElement (string localName, string namespaceUri)
 
override bool IsStartElement (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override int IndexOfLocalName (string[] localNames, string namespaceUri)
 
override int IndexOfLocalName (XmlDictionaryString[] localNames, XmlDictionaryString namespaceUri)
 
override string ReadElementContentAsString ()
 
virtual string ReadElementContentAsString (string localName, string namespaceURI)
 
override void ReadStartElement ()
 
override void ReadStartElement (string name)
 
override void ReadStartElement (string localName, string namespaceUri)
 
virtual void ReadStartElement (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override void ReadEndElement ()
 
override bool ReadAttributeValue ()
 
override bool TryGetBase64ContentLength (out int length)
 
override byte[] ReadContentAsBase64 ()
 
override int ReadContentAsBase64 (byte[] buffer, int offset, int count)
 
override int ReadElementContentAsBase64 (byte[] buffer, int offset, int count)
 
virtual byte[] ReadElementContentAsBase64 ()
 
override byte[] ReadContentAsBinHex ()
 
override int ReadContentAsBinHex (byte[] buffer, int offset, int count)
 
override int ReadElementContentAsBinHex (byte[] buffer, int offset, int count)
 
virtual byte[] ReadElementContentAsBinHex ()
 
override string ReadContentAsString ()
 
virtual string ReadContentAsString (string[] strings, out int index)
 
virtual string ReadContentAsString (XmlDictionaryString[] strings, out int index)
 
override bool ReadContentAsBoolean ()
 
override DateTime ReadContentAsDateTime ()
 
override double ReadContentAsDouble ()
 
override float ReadContentAsFloat ()
 
override UniqueId ReadContentAsUniqueId ()
 
override TimeSpan ReadContentAsTimeSpan ()
 
override Guid ReadContentAsGuid ()
 
override object ReadContentAsObject ()
 
override object ReadContentAs (Type type, IXmlNamespaceResolver namespaceResolver)
 
override object ReadContentAs (Type type, IXmlNamespaceResolver? namespaceResolver)
 
override void ResolveEntity ()
 
override void Skip ()
 
override bool TryGetLocalNameAsDictionaryString ([NotNullWhen(true)] out XmlDictionaryString localName)
 
virtual bool TryGetLocalNameAsDictionaryString ([NotNullWhen(true)] out XmlDictionaryString? localName)
 
override bool TryGetNamespaceUriAsDictionaryString ([NotNullWhen(true)] out XmlDictionaryString localName)
 
virtual bool TryGetNamespaceUriAsDictionaryString ([NotNullWhen(true)] out XmlDictionaryString? namespaceUri)
 
override bool TryGetValueAsDictionaryString ([NotNullWhen(true)] out XmlDictionaryString value)
 
virtual bool TryGetValueAsDictionaryString ([NotNullWhen(true)] out XmlDictionaryString? value)
 
override short[] ReadInt16Array (string localName, string namespaceUri)
 
override short[] ReadInt16Array (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override int[] ReadInt32Array (string localName, string namespaceUri)
 
override int[] ReadInt32Array (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override long[] ReadInt64Array (string localName, string namespaceUri)
 
override long[] ReadInt64Array (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override float[] ReadSingleArray (string localName, string namespaceUri)
 
override float[] ReadSingleArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override double[] ReadDoubleArray (string localName, string namespaceUri)
 
override double[] ReadDoubleArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override decimal[] ReadDecimalArray (string localName, string namespaceUri)
 
override decimal[] ReadDecimalArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override DateTime[] ReadDateTimeArray (string localName, string namespaceUri)
 
override DateTime[] ReadDateTimeArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override Guid[] ReadGuidArray (string localName, string namespaceUri)
 
override Guid[] ReadGuidArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override TimeSpan[] ReadTimeSpanArray (string localName, string namespaceUri)
 
override TimeSpan[] ReadTimeSpanArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
string GetOpenElements ()
 
virtual void StartCanonicalization (Stream stream, bool includeComments, string[]? inclusivePrefixes)
 
virtual void MoveToStartElement ()
 
virtual void MoveToStartElement (string name)
 
virtual void MoveToStartElement (string localName, string namespaceUri)
 
virtual void MoveToStartElement (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
virtual void ReadFullStartElement ()
 
virtual void ReadFullStartElement (string name)
 
virtual void ReadFullStartElement (string localName, string namespaceUri)
 
virtual void ReadFullStartElement (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
override string ReadString ()
 
virtual int ReadContentAsChars (char[] chars, int offset, int count)
 
virtual void ReadContentAsQualifiedName (out string localName, out string namespaceUri)
 
override bool ReadElementContentAsBoolean ()
 
virtual bool ReadElementContentAsBoolean (string localName, string namespaceURI)
 
override int ReadElementContentAsInt ()
 
virtual int ReadElementContentAsInt (string localName, string namespaceURI)
 
override long ReadElementContentAsLong ()
 
virtual long ReadElementContentAsLong (string localName, string namespaceURI)
 
override float ReadElementContentAsFloat ()
 
virtual float ReadElementContentAsFloat (string localName, string namespaceURI)
 
override double ReadElementContentAsDouble ()
 
virtual double ReadElementContentAsDouble (string localName, string namespaceURI)
 
override decimal ReadElementContentAsDecimal ()
 
virtual decimal ReadElementContentAsDecimal (string localName, string namespaceURI)
 
override DateTime ReadElementContentAsDateTime ()
 
virtual DateTime ReadElementContentAsDateTime (string localName, string namespaceURI)
 
virtual UniqueId ReadElementContentAsUniqueId ()
 
virtual Guid ReadElementContentAsGuid ()
 
virtual TimeSpan ReadElementContentAsTimeSpan ()
 
virtual void GetNonAtomizedNames (out string localName, out string namespaceUri)
 
virtual bool IsStartArray ([NotNullWhen(true)] out Type? type)
 
virtual bool TryGetArrayLength (out int count)
 
virtual bool[] ReadBooleanArray (string localName, string namespaceUri)
 
virtual bool[] ReadBooleanArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
virtual int ReadArray (string localName, string namespaceUri, bool[] array, int offset, int count)
 
virtual int ReadArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count)
 
virtual int ReadArray (string localName, string namespaceUri, short[] array, int offset, int count)
 
virtual int ReadArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri, short[] array, int offset, int count)
 
virtual int ReadArray (string localName, string namespaceUri, int[] array, int offset, int count)
 
virtual int ReadArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri, int[] array, int offset, int count)
 
virtual int ReadArray (string localName, string namespaceUri, long[] array, int offset, int count)
 
virtual int ReadArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri, long[] array, int offset, int count)
 
virtual int ReadArray (string localName, string namespaceUri, float[] array, int offset, int count)
 
virtual int ReadArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count)
 
virtual int ReadArray (string localName, string namespaceUri, double[] array, int offset, int count)
 
virtual int ReadArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count)
 
virtual int ReadArray (string localName, string namespaceUri, decimal[] array, int offset, int count)
 
virtual int ReadArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count)
 
virtual int ReadArray (string localName, string namespaceUri, DateTime[] array, int offset, int count)
 
virtual int ReadArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count)
 
virtual int ReadArray (string localName, string namespaceUri, Guid[] array, int offset, int count)
 
virtual int ReadArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count)
 
virtual int ReadArray (string localName, string namespaceUri, TimeSpan[] array, int offset, int count)
 
virtual int ReadArray (XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count)
 
virtual DateTimeOffset ReadContentAsDateTimeOffset ()
 
virtual object ReadElementContentAsObject ()
 
virtual object ReadElementContentAsObject (string localName, string namespaceURI)
 
virtual object ReadElementContentAs (Type returnType, IXmlNamespaceResolver namespaceResolver)
 
virtual object ReadElementContentAs (Type returnType, IXmlNamespaceResolver namespaceResolver, string localName, string namespaceURI)
 
virtual string ReadElementString ()
 
virtual string ReadElementString (string name)
 
virtual string ReadElementString (string localname, string ns)
 
virtual bool ReadToFollowing (string name)
 
virtual bool ReadToFollowing (string localName, string namespaceURI)
 
virtual bool ReadToDescendant (string name)
 
virtual bool ReadToDescendant (string localName, string namespaceURI)
 
virtual bool ReadToNextSibling (string name)
 
virtual bool ReadToNextSibling (string localName, string namespaceURI)
 
virtual string ReadInnerXml ()
 
virtual string ReadOuterXml ()
 
virtual XmlReader ReadSubtree ()
 
void Dispose ()
 
virtual Task< stringGetValueAsync ()
 
virtual async Task< object > ReadContentAsObjectAsync ()
 
virtual Task< stringReadContentAsStringAsync ()
 
virtual async Task< object > ReadContentAsAsync (Type returnType, IXmlNamespaceResolver? namespaceResolver)
 
virtual async Task< object > ReadElementContentAsObjectAsync ()
 
virtual async Task< stringReadElementContentAsStringAsync ()
 
virtual async Task< object > ReadElementContentAsAsync (Type returnType, IXmlNamespaceResolver namespaceResolver)
 
virtual Task< boolReadAsync ()
 
virtual Task SkipAsync ()
 
virtual Task< int > ReadContentAsBase64Async (byte[] buffer, int index, int count)
 
virtual Task< int > ReadElementContentAsBase64Async (byte[] buffer, int index, int count)
 
virtual Task< int > ReadContentAsBinHexAsync (byte[] buffer, int index, int count)
 
virtual Task< int > ReadElementContentAsBinHexAsync (byte[] buffer, int index, int count)
 
virtual Task< int > ReadValueChunkAsync (char[] buffer, int index, int count)
 
virtual async Task< XmlNodeType > MoveToContentAsync ()
 
virtual async Task< stringReadInnerXmlAsync ()
 
virtual async Task< stringReadOuterXmlAsync ()
 
void SetInput (byte[] buffer, int offset, int count, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
 
void SetInput (Stream stream, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
 

Static Public Member Functions

static XmlDictionaryReader CreateDictionaryReader (XmlReader reader)
 
static XmlDictionaryReader CreateBinaryReader (byte[] buffer, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession? session)
 
static XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession? session, OnXmlDictionaryReaderClose? onClose)
 
static XmlDictionaryReader CreateBinaryReader (Stream stream, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateBinaryReader (Stream stream, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateBinaryReader (Stream stream, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession? session)
 
static XmlDictionaryReader CreateBinaryReader (Stream stream, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession? session, OnXmlDictionaryReaderClose? onClose)
 
static XmlDictionaryReader CreateTextReader (byte[] buffer, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateTextReader (byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateTextReader (byte[] buffer, int offset, int count, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
 
static XmlDictionaryReader CreateTextReader (Stream stream, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateTextReader (Stream stream, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
 
static XmlDictionaryReader CreateMtomReader (Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateMtomReader (Stream stream, Encoding[] encodings, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateMtomReader (Stream stream, Encoding[] encodings, string? contentType, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateMtomReader (Stream stream, Encoding[] encodings, string? contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose? onClose)
 
static XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, Encoding[] encodings, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, Encoding[] encodings, string? contentType, XmlDictionaryReaderQuotas quotas)
 
static XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, Encoding[] encodings, string? contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose? onClose)
 
static bool IsName (string str)
 
static bool IsNameToken (string str)
 
static XmlReader Create (string inputUri)
 
static XmlReader Create (string inputUri, XmlReaderSettings? settings)
 
static XmlReader Create (string inputUri, XmlReaderSettings? settings, XmlParserContext? inputContext)
 
static XmlReader Create (Stream input)
 
static XmlReader Create (Stream input, XmlReaderSettings? settings)
 
static XmlReader Create (Stream input, XmlReaderSettings? settings, string? baseUri)
 
static XmlReader Create (Stream input, XmlReaderSettings? settings, XmlParserContext? inputContext)
 
static XmlReader Create (TextReader input)
 
static XmlReader Create (TextReader input, XmlReaderSettings? settings)
 
static XmlReader Create (TextReader input, XmlReaderSettings? settings, string? baseUri)
 
static XmlReader Create (TextReader input, XmlReaderSettings? settings, XmlParserContext? inputContext)
 
static XmlReader Create (XmlReader reader, XmlReaderSettings? settings)
 

Protected Types

enum  QNameType { Normal , Xmlns }
 

Protected Member Functions

override XmlSigningNodeWriter CreateSigningNodeWriter ()
 
void MoveToNode (XmlNode node)
 
void MoveToInitial (XmlDictionaryReaderQuotas quotas)
 
XmlDeclarationNode MoveToDeclaration ()
 
XmlCommentNode MoveToComment ()
 
XmlCDataNode MoveToCData ()
 
XmlAtomicTextNode MoveToAtomicText ()
 
XmlComplexTextNode MoveToComplexText ()
 
XmlTextNode MoveToWhitespaceText ()
 
void MoveToEndOfFile ()
 
XmlElementNode EnterScope ()
 
void ExitScope ()
 
XmlAttributeNode AddAttribute ()
 
Namespace AddNamespace ()
 
XmlAttributeNode AddXmlAttribute ()
 
XmlAttributeNode AddXmlnsAttribute (Namespace ns)
 
void FixXmlAttribute (XmlAttributeNode attributeNode)
 
Namespace LookupNamespace (PrefixHandleType prefix)
 
Namespace LookupNamespace (PrefixHandle prefix)
 
void ProcessAttributes ()
 
byte[] ReadContentAsBinHex (int maxByteArrayContentLength)
 
string ReadContentAsString (int maxStringContentLength)
 
void SignNode ()
 
string ReadString (int maxStringContentLength)
 
bool IsTextNode (XmlNodeType nodeType)
 
virtual void Dispose (bool disposing)
 

Package Functions

byte[] ReadContentAsBase64 (int maxByteArrayContentLength, int maxInitialCount)
 
bool CanReadContentAs ()
 
void CheckElement (string localName, string namespaceURI)
 
Exception CreateReadContentAsException (string methodName)
 
Exception CreateReadElementContentAsException (string methodName)
 
string InternalReadContentAsString ()
 
async Task< stringInternalReadContentAsStringAsync ()
 

Static Package Functions

static void CheckArray (Array array, int offset, int count)
 
static bool IsTextualNode (XmlNodeType nodeType)
 
static bool CanReadContentAs (XmlNodeType nodeType)
 
static bool HasValueInternal (XmlNodeType nodeType)
 
static Exception CreateReadContentAsException (string methodName, XmlNodeType nodeType, IXmlLineInfo lineInfo)
 
static Exception CreateReadElementContentAsException (string methodName, XmlNodeType nodeType, IXmlLineInfo lineInfo)
 
static ConformanceLevel GetV1ConformanceLevel (XmlReader reader)
 
static XmlReader CreateSqlReader (Stream input, XmlReaderSettings settings, XmlParserContext inputContext)
 
static int CalcBufferSize (Stream input)
 

Static Package Attributes

const int MaxInitialArrayLength = 65535
 

Properties

static ReadOnlySpan< byte > CharTypes [get]
 
override bool CanCanonicalize [get]
 
override string Value [get]
 
bool IsAttributeValue [get]
 
bool IsReadingCollection [get]
 
bool IsReadingComplexText [get]
 
static Base64Encoding Base64Encoding [get]
 
static BinHexEncoding BinHexEncoding [get]
 
XmlBufferReader BufferReader [get]
 
override XmlDictionaryReaderQuotas Quotas [get]
 
XmlNode Node [get]
 
XmlElementNode ElementNode [get]
 
bool OutsideRootElement [get]
 
override bool CanReadBinaryContent [get]
 
override bool CanReadValueChunk [get]
 
override string BaseURI [get]
 
override bool HasValue [get]
 
override bool IsDefault [get]
 
override string this[int index] [get]
 
override string this[string name] [get]
 
override string this[string localName, string namespaceUri] [get]
 
override int AttributeCount [get]
 
override int Depth [get]
 
override bool EOF [get]
 
override bool IsEmptyElement [get]
 
override string LocalName [get]
 
override string NamespaceURI [get]
 
override XmlNameTable NameTable [get]
 
override XmlNodeType NodeType [get]
 
override string Prefix [get]
 
override ReadState ReadState [get]
 
override Type ValueType [get]
 
override string XmlLang [get]
 
override XmlSpace XmlSpace [get]
 
bool Signing [get]
 
virtual ? XmlReaderSettings Settings [get]
 
virtual string Name [get]
 
virtual char QuoteChar [get]
 
virtual ? IXmlSchemaInfo SchemaInfo [get]
 
virtual string this[int i] [get]
 
virtual ? string this[string name, string? namespaceURI] [get]
 
virtual bool CanResolveEntity [get]
 
virtual bool HasAttributes [get]
 
virtual ? XmlNamespaceManager NamespaceManager [get]
 
bool IsDefaultInternal [get]
 
virtual ? IDtdInfo DtdInfo [get]
 
object DebuggerDisplayProxy [get]
 

Private Types

enum  JsonComplexTextMode { QuotedText , NumericalText , None }
 

Private Member Functions

void BufferElement ()
 
void EnterJsonScope (JsonNodeType currentNodeType)
 
JsonNodeType ExitJsonScope ()
 
new void MoveToEndElement ()
 
void MoveToInitial (XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose)
 
void ParseAndSetLocalName ()
 
void ParseStartElement ()
 
void ReadAttributes ()
 
void ReadEscapedCharacter (bool moveToText)
 
void ReadNonExistentElementName (StringHandleConstStringType elementName)
 
int ReadNonFFFE ()
 
void ReadNumericalText ()
 
void ReadQuotedText (bool moveToText)
 
void ReadServerTypeAttribute (bool consumedObjectChar)
 
void ResetState ()
 
void SetJsonNameWithMapping (XmlElementNode elementNode)
 
void SkipExpectedByteInBufferReader (byte characterToSkip)
 
void SkipWhitespaceInBufferReader ()
 
bool TryGetByte (out byte ch)
 
string UnescapeJsonString (string val)
 
bool CheckStandalone (int attr)
 
bool CheckDeclAttribute (int index, string localName, string value, bool checkLower, string valueSR)
 
XmlAttributeNode AddAttribute (QNameType qnameType, bool isAtomicValue)
 
XmlAttributeNode GetAttributeNode (int index)
 
XmlAttributeNode GetAttributeNode (string name)
 
XmlAttributeNode GetAttributeNode (string localName, string namespaceUri)
 
XmlAttributeNode GetAttributeNode (XmlDictionaryString localName, XmlDictionaryString namespaceUri)
 
void ProcessAttributes (XmlAttributeNode[] attributeNodes, int attributeCount)
 
void CheckAttributes (XmlAttributeNode[] attributeNodes, int attributeCount)
 
void SkipValue (XmlNode node)
 
int ReadBytes (Encoding encoding, int byteBlock, int charBlock, byte[] buffer, int offset, int byteCount, bool readContent)
 
char[] GetCharBuffer (int count)
 
void SignStartElement (XmlSigningNodeWriter writer)
 
void SignAttribute (XmlSigningNodeWriter writer, XmlAttributeNode attributeNode)
 
void SignEndElement (XmlSigningNodeWriter writer)
 
void SignNode (XmlSigningNodeWriter writer)
 
byte[] ReadContentAsBytes (bool base64, int maxByteArrayContentLength)
 
void WriteNode (XmlWriter xtw, bool defattr)
 
void WriteAttributeValue (XmlWriter xtw)
 
XmlWriter CreateWriterForInnerOuterXml (StringWriter sw)
 
void SetNamespacesFlag (XmlTextWriter xtw)
 
bool SkipSubtree ()
 
bool SetupReadElementContentAsXxx (string methodName)
 
void FinishReadElementContentAsXxx ()
 
async Task WriteNodeAsync (XmlWriter xtw, bool defattr)
 
async Task< boolSkipSubtreeAsync ()
 
async Task< boolSetupReadElementContentAsXxxAsync (string methodName)
 
Task FinishReadElementContentAsXxxAsync ()
 

Static Private Member Functions

static int BreakText (byte[] buffer, int offset, int length)
 
static int ComputeNumericalTextLength (byte[] buffer, int offset, int offsetMax)
 
static int ComputeQuotedTextLengthUntilEndQuote (byte[] buffer, int offset, int offsetMax, out bool escaped)
 
static bool IsWhitespace (byte ch)
 
static char ParseChar (string value, NumberStyles style)
 
static int ParseInt (string value, NumberStyles style)
 
static string AddLineInfo (string message, IXmlLineInfo lineInfo)
 
static XmlTextReaderImpl GetXmlTextReaderImpl (XmlReader reader)
 

Private Attributes

bool _buffered
 
byte[] _charactersToSkipOnNextRead
 
JsonComplexTextMode _complexTextMode = JsonComplexTextMode.None
 
bool _expectingFirstElementInNonPrimitiveChild
 
int _maxBytesPerRead
 
OnXmlDictionaryReaderClose _onReaderClose
 
bool _readServerTypeElement
 
int _scopeDepth
 
JsonNodeType[] _scopes
 
readonly XmlBufferReader _bufferReader
 
XmlNode _node
 
readonly NamespaceManager _nsMgr
 
XmlElementNode[] _elementNodes
 
XmlAttributeNode[] _attributeNodes
 
readonly XmlAtomicTextNode _atomicTextNode
 
int _depth
 
int _attributeCount
 
int _attributeStart
 
readonly XmlDictionaryReaderQuotas _quotas
 
XmlNameTable _nameTable
 
XmlDeclarationNode _declarationNode
 
XmlComplexTextNode _complexTextNode
 
XmlWhitespaceTextNode _whitespaceTextNode
 
XmlCDataNode _cdataNode
 
XmlCommentNode _commentNode
 
readonly XmlElementNode _rootElementNode
 
int _attributeIndex
 
char[] _chars
 
string _prefix
 
string _localName
 
string _ns
 
string _value
 
int _trailCharCount
 
int _trailByteCount
 
char[] _trailChars
 
byte[] _trailBytes
 
bool _rootElement
 
bool _readingElement
 
AttributeSorter _attributeSorter
 
XmlSigningNodeWriter _signingWriter
 
bool _signing
 

Static Private Attributes

const int MaxTextChunk = 2048
 
static readonly XmlInitialNode s_initialNode = new XmlInitialNode(XmlBufferReader.Empty)
 
static readonly XmlEndOfFileNode s_endOfFileNode = new XmlEndOfFileNode(XmlBufferReader.Empty)
 
static readonly XmlClosedNode s_closedNode = new XmlClosedNode(XmlBufferReader.Empty)
 
static Base64Encoding s_base64Encoding
 
static BinHexEncoding s_binHexEncoding
 
const string xmlns = "xmlns"
 
const string xml = "xml"
 
const string xmlnsNamespace = "http://www.w3.org/2000/xmlns/"
 
const string xmlNamespace = "http://www.w3.org/XML/1998/namespace"
 

Detailed Description

Definition at line 9 of file XmlJsonReader.cs.


The documentation for this class was generated from the following file: