3 writes to xmlReader
System.Runtime.Serialization (3)
System\Xml\XmlMtomReader.cs (3)
128
xmlReader
= XmlDictionaryReader.CreateTextReader(infosetBytes, 0, infosetByteCount, encoding, quotas, null);
332
this.
xmlReader
= binaryDataReader;
344
xmlReader
= infosetReader;
101 references to xmlReader
System.Runtime.Serialization (101)
System\Xml\XmlMtomReader.cs (101)
123
IXmlTextReaderInitializer initializer =
xmlReader
as IXmlTextReaderInitializer;
135
return this.
xmlReader
.Quotas;
280
bool retVal =
xmlReader
.Read();
282
if (
xmlReader
.NodeType == XmlNodeType.Element)
285
if (
xmlReader
.IsStartElement(MtomGlobals.XopIncludeLocalName, MtomGlobals.XopIncludeNamespace))
288
while (
xmlReader
.MoveToNextAttribute())
290
if (
xmlReader
.LocalName == MtomGlobals.XopIncludeHrefLocalName &&
xmlReader
.NamespaceURI == MtomGlobals.XopIncludeHrefNamespace)
291
uri =
xmlReader
.Value;
292
else if (
xmlReader
.NamespaceURI == MtomGlobals.XopIncludeNamespace)
293
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.MtomXopIncludeInvalidXopAttributes,
xmlReader
.LocalName, MtomGlobals.XopIncludeNamespace)));
303
binaryDataReader = new XopIncludeReader(mimePart,
xmlReader
);
306
xmlReader
.MoveToElement();
307
if (
xmlReader
.IsEmptyElement)
309
xmlReader
.Read();
313
int xopDepth =
xmlReader
.Depth;
314
xmlReader
.ReadStartElement();
316
while (
xmlReader
.Depth > xopDepth)
318
if (
xmlReader
.IsStartElement() &&
xmlReader
.NamespaceURI == MtomGlobals.XopIncludeNamespace)
319
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.MtomXopIncludeInvalidXopElement,
xmlReader
.LocalName, MtomGlobals.XopIncludeNamespace)));
321
xmlReader
.Skip();
324
xmlReader
.ReadEndElement();
330
this.
xmlReader
.MoveToContent();
331
this.infosetReader = this.
xmlReader
;
337
if (
xmlReader
.ReadState == ReadState.EndOfFile && infosetReader != null)
450
return
xmlReader
.AttributeCount;
458
return
xmlReader
.BaseURI;
466
return
xmlReader
.CanReadBinaryContent;
474
return
xmlReader
.CanReadValueChunk;
482
return
xmlReader
.CanResolveEntity;
488
xmlReader
.Close();
511
return
xmlReader
.Depth;
519
return
xmlReader
.EOF;
525
return
xmlReader
.GetAttribute(index);
530
return
xmlReader
.GetAttribute(name);
535
return
xmlReader
.GetAttribute(name, ns);
540
return
xmlReader
.GetAttribute(localName, ns);
552
return
xmlReader
.HasAttributes;
560
return
xmlReader
.HasValue;
568
return
xmlReader
.IsDefault;
576
return
xmlReader
.IsEmptyElement;
582
return
xmlReader
.IsLocalName(localName);
587
return
xmlReader
.IsLocalName(localName);
592
return
xmlReader
.IsNamespaceUri(ns);
597
return
xmlReader
.IsNamespaceUri(ns);
602
return
xmlReader
.IsStartElement();
607
return
xmlReader
.IsStartElement(localName);
612
return
xmlReader
.IsStartElement(localName, ns);
617
return
xmlReader
.IsStartElement(localName, ns);
629
return
xmlReader
.LocalName;
635
return
xmlReader
.LookupNamespace(ns);
640
xmlReader
.MoveToAttribute(index);
645
return
xmlReader
.MoveToAttribute(name);
650
return
xmlReader
.MoveToAttribute(name, ns);
655
return
xmlReader
.MoveToElement();
660
return
xmlReader
.MoveToFirstAttribute();
665
return
xmlReader
.MoveToNextAttribute();
672
return
xmlReader
.Name;
680
return
xmlReader
.NamespaceURI;
688
return
xmlReader
.NameTable;
696
return
xmlReader
.NodeType;
704
return
xmlReader
.Prefix;
712
return
xmlReader
.QuoteChar;
718
return
xmlReader
.ReadAttributeValue();
724
return
xmlReader
.ReadContentAs(returnType, namespaceResolver);
730
return
xmlReader
.ReadContentAsBase64();
736
return
xmlReader
.ReadValueAsBase64(buffer, offset, count);
742
return
xmlReader
.ReadContentAsBase64(buffer, offset, count);
798
return
xmlReader
.ReadContentAsBinHex(buffer, offset, count);
804
return
xmlReader
.ReadContentAsBoolean();
810
return
xmlReader
.ReadContentAsChars(chars, index, count);
816
return
xmlReader
.ReadContentAsDateTime();
822
return
xmlReader
.ReadContentAsDecimal();
828
return
xmlReader
.ReadContentAsDouble();
834
return
xmlReader
.ReadContentAsInt();
840
return
xmlReader
.ReadContentAsLong();
852
return
xmlReader
.ReadContentAsObject();
858
return
xmlReader
.ReadContentAsFloat();
864
return
xmlReader
.ReadContentAsString();
869
return
xmlReader
.ReadInnerXml();
874
return
xmlReader
.ReadOuterXml();
881
if (
xmlReader
.ReadState != ReadState.Interactive && infosetReader != null)
884
return
xmlReader
.ReadState;
890
return
xmlReader
.ReadValueChunk(buffer, index, count);
895
xmlReader
.ResolveEntity();
902
return
xmlReader
.Settings;
908
xmlReader
.Skip();
915
return
xmlReader
[index];
923
return
xmlReader
[name];
931
return
xmlReader
[name, ns];
939
return
xmlReader
.Value;
947
return
xmlReader
.ValueType;
955
return
xmlReader
.XmlLang;
963
return
xmlReader
.XmlSpace;
969
if (
xmlReader
.ReadState == ReadState.Closed)
972
IXmlLineInfo lineInfo =
xmlReader
as IXmlLineInfo;
982
if (
xmlReader
.ReadState == ReadState.Closed)
985
IXmlLineInfo lineInfo =
xmlReader
as IXmlLineInfo;
996
if (
xmlReader
.ReadState == ReadState.Closed)
999
IXmlLineInfo lineInfo =
xmlReader
as IXmlLineInfo;