2 types derived from XmlDictionaryReader
System.Private.DataContractSerialization (2)
186 references to XmlDictionaryReader
Client.ChannelLayer.IntegrationTests (9)
Client.TypedClient.IntegrationTests (3)
Contract.Message.IntegrationTests (7)
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
Microsoft.Build.Tasks.Core (2)
Microsoft.Build.Utilities.Core (2)
netstandard (1)
System.Private.DataContractSerialization (131)
System\Runtime\Serialization\Json\JsonReaderWriterFactory.cs (5)
17public static XmlDictionaryReader CreateJsonReader(Stream stream, XmlDictionaryReaderQuotas quotas)
22public static XmlDictionaryReader CreateJsonReader(byte[] buffer, XmlDictionaryReaderQuotas quotas)
29public static XmlDictionaryReader CreateJsonReader(Stream stream, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
36public static XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas)
41public static XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
System\Xml\ArrayHelper.cs (25)
11public TArray[] ReadArray(XmlDictionaryReader reader, TArgument localName, TArgument namespaceUri, int maxArrayLength)
23if (count > XmlDictionaryReader.MaxInitialArrayLength)
24count = XmlDictionaryReader.MaxInitialArrayLength;
65public void WriteArray(XmlDictionaryWriter writer, string prefix, TArgument localName, TArgument namespaceUri, XmlDictionaryReader reader)
82protected abstract int ReadArray(XmlDictionaryReader reader, TArgument localName, TArgument namespaceUri, TArray[] array, int offset, int count);
105protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, bool[] array, int offset, int count)
120protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count)
135protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, short[] array, int offset, int count)
150protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, short[] array, int offset, int count)
165protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, int[] array, int offset, int count)
180protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, int[] array, int offset, int count)
195protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, long[] array, int offset, int count)
210protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, long[] array, int offset, int count)
225protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, float[] array, int offset, int count)
240protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count)
255protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, double[] array, int offset, int count)
270protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count)
285protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, decimal[] array, int offset, int count)
300protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count)
315protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, DateTime[] array, int offset, int count)
330protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count)
345protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, Guid[] array, int offset, int count)
360protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count)
375protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, TimeSpan[] array, int offset, int count)
390protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count)
System\Xml\XmlDictionaryReader.cs (25)
16public delegate void OnXmlDictionaryReaderClose(XmlDictionaryReader reader);
22public static XmlDictionaryReader CreateDictionaryReader(XmlReader reader)
26return reader as XmlDictionaryReader ?? new XmlWrappedReader(reader, null);
29public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, XmlDictionaryReaderQuotas quotas)
36public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas)
41public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas)
46public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession? session)
51public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count,
62public static XmlDictionaryReader CreateBinaryReader(Stream stream, XmlDictionaryReaderQuotas quotas)
67public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas)
72public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession? session)
77public static XmlDictionaryReader CreateBinaryReader(Stream stream,
88public static XmlDictionaryReader CreateTextReader(byte[] buffer, XmlDictionaryReaderQuotas quotas)
95public static XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas)
100public static XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count,
110public static XmlDictionaryReader CreateTextReader(Stream stream, XmlDictionaryReaderQuotas quotas)
115public static XmlDictionaryReader CreateTextReader(Stream stream, Encoding? encoding,
124public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas)
131public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, XmlDictionaryReaderQuotas quotas)
136public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, string? contentType, XmlDictionaryReaderQuotas quotas)
141public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, string? contentType,
147public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas)
154public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, XmlDictionaryReaderQuotas quotas)
159public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, string? contentType, XmlDictionaryReaderQuotas quotas)
164public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, string? contentType,
System\Xml\XmlDictionaryWriter.cs (7)
241private void WriteElementNode(XmlDictionaryReader reader, bool defattr)
290private void WriteArrayNode(XmlDictionaryReader reader, string prefix, string localName, string namespaceUri, Type type)
319private void WriteArrayNode(XmlDictionaryReader reader, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Type type)
348private void WriteArrayNode(XmlDictionaryReader reader, Type type)
358protected virtual void WriteTextNode(XmlDictionaryReader reader, bool isAttribute)
377if (reader is XmlDictionaryReader dictionaryReader)
383public virtual void WriteNode(XmlDictionaryReader reader, bool defattr)
System\Xml\XmlExceptionHelper.cs (42)
13private static void ThrowXmlException(XmlDictionaryReader reader, string res)
19public static void ThrowXmlException(XmlDictionaryReader reader, string res, string? arg1)
25private static void ThrowXmlException(XmlDictionaryReader reader, string res, string? arg1, string? arg2)
31private static void ThrowXmlException(XmlDictionaryReader reader, string res, string? arg1, string? arg2, string? arg3)
43public static void ThrowXmlException(XmlDictionaryReader reader, XmlException exception)
61private static string GetWhatWasFound(XmlDictionaryReader reader)
84public static void ThrowStartElementExpected(XmlDictionaryReader reader)
90public static void ThrowStartElementExpected(XmlDictionaryReader reader, string name)
96public static void ThrowStartElementExpected(XmlDictionaryReader reader, string localName, string ns)
102public static void ThrowStartElementExpected(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns)
108public static void ThrowFullStartElementExpected(XmlDictionaryReader reader)
114public static void ThrowFullStartElementExpected(XmlDictionaryReader reader, string name)
120public static void ThrowFullStartElementExpected(XmlDictionaryReader reader, string localName, string ns)
126public static void ThrowFullStartElementExpected(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns)
132public static void ThrowEndElementExpected(XmlDictionaryReader reader, string localName, string ns)
138public static void ThrowMaxArrayLengthExceeded(XmlDictionaryReader reader, int maxArrayLength)
144public static void ThrowMaxArrayLengthOrMaxItemsQuotaExceeded(XmlDictionaryReader reader, int maxQuota)
150public static void ThrowMaxBytesPerReadExceeded(XmlDictionaryReader reader, int maxBytesPerRead)
156public static void ThrowMaxDepthExceeded(XmlDictionaryReader reader, int maxDepth)
162public static void ThrowMaxStringContentLengthExceeded(XmlDictionaryReader reader, int maxStringContentLength)
168public static void ThrowMaxNameTableCharCountExceeded(XmlDictionaryReader reader, int maxNameTableCharCount)
174public static void ThrowBase64DataExpected(XmlDictionaryReader reader)
180public static void ThrowUndefinedPrefix(XmlDictionaryReader reader, string prefix)
186public static void ThrowProcessingInstructionNotSupported(XmlDictionaryReader reader)
192public static void ThrowInvalidXml(XmlDictionaryReader reader, byte b)
198public static void ThrowUnexpectedEndOfFile(XmlDictionaryReader reader)
204public static void ThrowUnexpectedEndElement(XmlDictionaryReader reader)
210public static void ThrowTokenExpected(XmlDictionaryReader reader, string expected, char found)
216public static void ThrowTokenExpected(XmlDictionaryReader reader, string expected, string found)
222public static void ThrowInvalidCharRef(XmlDictionaryReader reader)
228public static void ThrowTagMismatch(XmlDictionaryReader reader, string expectedPrefix, string expectedLocalName, string foundPrefix, string foundLocalName)
234public static void ThrowDuplicateXmlnsAttribute(XmlDictionaryReader reader, string localName, string ns)
245public static void ThrowDuplicateAttribute(XmlDictionaryReader reader, string prefix1, string prefix2, string localName, string ns)
251public static void ThrowInvalidBinaryFormat(XmlDictionaryReader reader)
257public static void ThrowInvalidRootData(XmlDictionaryReader reader)
263public static void ThrowMultipleRootElements(XmlDictionaryReader reader)
269public static void ThrowDeclarationNotFirst(XmlDictionaryReader reader)
275public static void ThrowConversionOverflow(XmlDictionaryReader reader, string value, string type)
281public static void ThrowXmlDictionaryStringIDOutOfRange(XmlDictionaryReader reader)
287public static void ThrowXmlDictionaryStringIDUndefinedStatic(XmlDictionaryReader reader, int key)
293public static void ThrowXmlDictionaryStringIDUndefinedSession(XmlDictionaryReader reader, int key)
299public static void ThrowEmptyNamespace(XmlDictionaryReader reader)
System.Runtime.Serialization (1)
System.Runtime.Serialization.Xml (1)
System.ServiceModel.Federation (4)
System.ServiceModel.Primitives.Tests (2)
System.ServiceModel.Syndication (21)