2 types derived from XmlDictionaryReader
System.Private.DataContractSerialization (2)
System\Xml\XmlBaseReader.cs (1)
25
internal abstract class XmlBaseReader :
XmlDictionaryReader
System\Xml\XmlDictionaryReader.cs (1)
1312
private sealed class XmlWrappedReader :
XmlDictionaryReader
, IXmlLineInfo
182 references to XmlDictionaryReader
Client.ChannelLayer.IntegrationTests (9)
DuplexChannelShapeTests.4.0.0.cs (2)
61
var
replyReader = replyMessage.GetReaderAtBodyContents();
118
var
replyReader = replyMessage.GetReaderAtBodyContents();
DuplexChannelShapeTests.4.1.0.cs (2)
60
var
replyReader = replyMessage.GetReaderAtBodyContents();
118
var
replyReader = replyMessage.GetReaderAtBodyContents();
RequestReplyChannelShapeTests.4.0.0.cs (4)
56
var
replyReader = replyMessage.GetReaderAtBodyContents();
111
var
replyReader = replyMessage.GetReaderAtBodyContents();
164
var
replyReader = replyMessage.GetReaderAtBodyContents();
221
var
replyReader = replyMessage.GetReaderAtBodyContents();
RequestReplyChannelShapeTests.4.1.0.cs (1)
54
var
replyReader = replyMessage.GetReaderAtBodyContents();
Client.TypedClient.IntegrationTests (3)
TypedProxyTests.4.0.0.cs (3)
257
var
replyReader = replyMessage.GetReaderAtBodyContents();
321
var
replyReader = replyMessage.GetReaderAtBodyContents();
386
var
replyReader = replyMessage.GetReaderAtBodyContents();
Contract.Message.IntegrationTests (7)
MessageContractCommon.4.1.0.cs (2)
31
public static
XmlDictionaryReader
GetResponseBodyReader(MyInspector inspector)
33
XmlDictionaryReader
reader = inspector.ReceivedMessage.GetReaderAtBodyContents();
MessageContractTests.4.1.0.cs (4)
22
XmlDictionaryReader
reader = MessageContractHelpers.GetResponseBodyReader(inspector);
40
XmlDictionaryReader
reader = MessageContractHelpers.GetResponseBodyReader(inspector);
55
XmlDictionaryReader
reader = MessageContractHelpers.GetResponseBodyReader(inspector);
97
XmlDictionaryReader
reader = MessageContractHelpers.GetResponseBodyReader(inspector);
MessageTests.4.0.0.cs (1)
46
var
replyReader = replyMessage.GetReaderAtBodyContents();
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
XmlDataContractSerializerInputFormatter.cs (1)
191
return
XmlDictionaryReader
.CreateTextReader(readStream, encoding, _readerQuotas, onClose: null);
XmlSerializerInputFormatter.cs (1)
214
return
XmlDictionaryReader
.CreateTextReader(readStream, encoding, _readerQuotas, onClose: null);
netstandard (1)
netstandard.cs (1)
2465
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.
XmlDictionaryReader
))]
System.Private.DataContractSerialization (131)
System\Runtime\Serialization\DataContractSerializer.cs (3)
332
public override object? ReadObject(
XmlDictionaryReader
reader, bool verifyObjectName)
339
public override bool IsStartObject(
XmlDictionaryReader
reader)
346
public object? ReadObject(
XmlDictionaryReader
reader, bool verifyObjectName, DataContractResolver? dataContractResolver)
System\Runtime\Serialization\Json\ByteArrayHelperWithString.cs (1)
28
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, byte[] array, int offset, int count)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (3)
238
public override bool IsStartObject(
XmlDictionaryReader
reader)
269
public override object? ReadObject(
XmlDictionaryReader
reader)
276
public override object? ReadObject(
XmlDictionaryReader
reader, bool verifyObjectName)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (3)
81
XmlDictionaryReader
tempDictionaryReader =
XmlDictionaryReader
.CreateDictionaryReader(reader);
241
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, DateTime[] array, int offset, int count)
System\Runtime\Serialization\Json\JsonReaderWriterFactory.cs (5)
17
public static
XmlDictionaryReader
CreateJsonReader(Stream stream, XmlDictionaryReaderQuotas quotas)
22
public static
XmlDictionaryReader
CreateJsonReader(byte[] buffer, XmlDictionaryReaderQuotas quotas)
29
public static
XmlDictionaryReader
CreateJsonReader(Stream stream, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
36
public static
XmlDictionaryReader
CreateJsonReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas)
41
public static
XmlDictionaryReader
CreateJsonReader(byte[] buffer, int offset, int count, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
42
xmlValue = dataContractSerializer.ReadObject(
XmlDictionaryReader
.CreateTextReader(memoryStream, quotas));
System\Runtime\Serialization\XmlObjectSerializer.cs (7)
274
return ReadObject(
XmlDictionaryReader
.CreateTextReader(stream, XmlDictionaryReaderQuotas.Max));
283
return ReadObject(
XmlDictionaryReader
.CreateDictionaryReader(reader));
288
public virtual object? ReadObject(
XmlDictionaryReader
reader)
299
return ReadObject(
XmlDictionaryReader
.CreateDictionaryReader(reader), verifyObjectName);
304
public abstract object? ReadObject(
XmlDictionaryReader
reader, bool verifyObjectName);
312
return IsStartObject(
XmlDictionaryReader
.CreateDictionaryReader(reader));
317
public abstract bool IsStartObject(
XmlDictionaryReader
reader);
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
16
protected
XmlDictionaryReader
? dictionaryReader;
24
this.dictionaryReader = reader as
XmlDictionaryReader
;
System\Xml\ArrayHelper.cs (25)
11
public TArray[] ReadArray(
XmlDictionaryReader
reader, TArgument localName, TArgument namespaceUri, int maxArrayLength)
23
if (count >
XmlDictionaryReader
.MaxInitialArrayLength)
24
count =
XmlDictionaryReader
.MaxInitialArrayLength;
65
public void WriteArray(XmlDictionaryWriter writer, string prefix, TArgument localName, TArgument namespaceUri,
XmlDictionaryReader
reader)
82
protected abstract int ReadArray(
XmlDictionaryReader
reader, TArgument localName, TArgument namespaceUri, TArray[] array, int offset, int count);
105
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, bool[] array, int offset, int count)
120
protected override int ReadArray(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count)
135
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, short[] array, int offset, int count)
150
protected override int ReadArray(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, short[] array, int offset, int count)
165
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, int[] array, int offset, int count)
180
protected override int ReadArray(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, int[] array, int offset, int count)
195
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, long[] array, int offset, int count)
210
protected override int ReadArray(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, long[] array, int offset, int count)
225
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, float[] array, int offset, int count)
240
protected override int ReadArray(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count)
255
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, double[] array, int offset, int count)
270
protected override int ReadArray(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count)
285
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, decimal[] array, int offset, int count)
300
protected override int ReadArray(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count)
315
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, DateTime[] array, int offset, int count)
330
protected override int ReadArray(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count)
345
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, Guid[] array, int offset, int count)
360
protected override int ReadArray(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count)
375
protected override int ReadArray(
XmlDictionaryReader
reader, string localName, string namespaceUri, TimeSpan[] array, int offset, int count)
390
protected override int ReadArray(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count)
System\Xml\XmlBaseReader.cs (3)
1314
return ReadContentAsBase64(_quotas.MaxArrayLength,
XmlDictionaryReader
.MaxInitialArrayLength); // Initial count will get ignored
3113
private readonly
XmlDictionaryReader
_reader;
3118
public QuotaNameTable(
XmlDictionaryReader
reader, int maxCharCount)
System\Xml\XmlBinaryWriter.cs (1)
1169
protected override void WriteTextNode(
XmlDictionaryReader
reader, bool attribute)
System\Xml\XmlBufferReader.cs (2)
22
private readonly
XmlDictionaryReader
_reader;
38
public XmlBufferReader(
XmlDictionaryReader
reader)
System\Xml\XmlDictionaryAsyncCheckWriter.cs (1)
562
public override void WriteNode(
XmlDictionaryReader
reader, bool defattr)
System\Xml\XmlDictionaryReader.cs (25)
16
public delegate void OnXmlDictionaryReaderClose(
XmlDictionaryReader
reader);
22
public static
XmlDictionaryReader
CreateDictionaryReader(XmlReader reader)
26
return reader as
XmlDictionaryReader
?? new XmlWrappedReader(reader, null);
29
public static
XmlDictionaryReader
CreateBinaryReader(byte[] buffer, XmlDictionaryReaderQuotas quotas)
36
public static
XmlDictionaryReader
CreateBinaryReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas)
41
public static
XmlDictionaryReader
CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas)
46
public static
XmlDictionaryReader
CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession? session)
51
public static
XmlDictionaryReader
CreateBinaryReader(byte[] buffer, int offset, int count,
62
public static
XmlDictionaryReader
CreateBinaryReader(Stream stream, XmlDictionaryReaderQuotas quotas)
67
public static
XmlDictionaryReader
CreateBinaryReader(Stream stream, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas)
72
public static
XmlDictionaryReader
CreateBinaryReader(Stream stream, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession? session)
77
public static
XmlDictionaryReader
CreateBinaryReader(Stream stream,
88
public static
XmlDictionaryReader
CreateTextReader(byte[] buffer, XmlDictionaryReaderQuotas quotas)
95
public static
XmlDictionaryReader
CreateTextReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas)
100
public static
XmlDictionaryReader
CreateTextReader(byte[] buffer, int offset, int count,
110
public static
XmlDictionaryReader
CreateTextReader(Stream stream, XmlDictionaryReaderQuotas quotas)
115
public static
XmlDictionaryReader
CreateTextReader(Stream stream, Encoding? encoding,
124
public static
XmlDictionaryReader
CreateMtomReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas)
131
public static
XmlDictionaryReader
CreateMtomReader(Stream stream, Encoding[] encodings, XmlDictionaryReaderQuotas quotas)
136
public static
XmlDictionaryReader
CreateMtomReader(Stream stream, Encoding[] encodings, string? contentType, XmlDictionaryReaderQuotas quotas)
141
public static
XmlDictionaryReader
CreateMtomReader(Stream stream, Encoding[] encodings, string? contentType,
147
public static
XmlDictionaryReader
CreateMtomReader(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas)
154
public static
XmlDictionaryReader
CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, XmlDictionaryReaderQuotas quotas)
159
public static
XmlDictionaryReader
CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, string? contentType, XmlDictionaryReaderQuotas quotas)
164
public static
XmlDictionaryReader
CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, string? contentType,
System\Xml\XmlDictionaryWriter.cs (7)
241
private void WriteElementNode(
XmlDictionaryReader
reader, bool defattr)
290
private void WriteArrayNode(
XmlDictionaryReader
reader, string prefix, string localName, string namespaceUri, Type type)
319
private void WriteArrayNode(
XmlDictionaryReader
reader, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Type type)
348
private void WriteArrayNode(
XmlDictionaryReader
reader, Type type)
358
protected virtual void WriteTextNode(
XmlDictionaryReader
reader, bool isAttribute)
377
if (reader is
XmlDictionaryReader
dictionaryReader)
383
public virtual void WriteNode(
XmlDictionaryReader
reader, bool defattr)
System\Xml\XmlExceptionHelper.cs (42)
13
private static void ThrowXmlException(
XmlDictionaryReader
reader, string res)
19
public static void ThrowXmlException(
XmlDictionaryReader
reader, string res, string? arg1)
25
private static void ThrowXmlException(
XmlDictionaryReader
reader, string res, string? arg1, string? arg2)
31
private static void ThrowXmlException(
XmlDictionaryReader
reader, string res, string? arg1, string? arg2, string? arg3)
43
public static void ThrowXmlException(
XmlDictionaryReader
reader, XmlException exception)
61
private static string GetWhatWasFound(
XmlDictionaryReader
reader)
84
public static void ThrowStartElementExpected(
XmlDictionaryReader
reader)
90
public static void ThrowStartElementExpected(
XmlDictionaryReader
reader, string name)
96
public static void ThrowStartElementExpected(
XmlDictionaryReader
reader, string localName, string ns)
102
public static void ThrowStartElementExpected(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString ns)
108
public static void ThrowFullStartElementExpected(
XmlDictionaryReader
reader)
114
public static void ThrowFullStartElementExpected(
XmlDictionaryReader
reader, string name)
120
public static void ThrowFullStartElementExpected(
XmlDictionaryReader
reader, string localName, string ns)
126
public static void ThrowFullStartElementExpected(
XmlDictionaryReader
reader, XmlDictionaryString localName, XmlDictionaryString ns)
132
public static void ThrowEndElementExpected(
XmlDictionaryReader
reader, string localName, string ns)
138
public static void ThrowMaxArrayLengthExceeded(
XmlDictionaryReader
reader, int maxArrayLength)
144
public static void ThrowMaxArrayLengthOrMaxItemsQuotaExceeded(
XmlDictionaryReader
reader, int maxQuota)
150
public static void ThrowMaxBytesPerReadExceeded(
XmlDictionaryReader
reader, int maxBytesPerRead)
156
public static void ThrowMaxDepthExceeded(
XmlDictionaryReader
reader, int maxDepth)
162
public static void ThrowMaxStringContentLengthExceeded(
XmlDictionaryReader
reader, int maxStringContentLength)
168
public static void ThrowMaxNameTableCharCountExceeded(
XmlDictionaryReader
reader, int maxNameTableCharCount)
174
public static void ThrowBase64DataExpected(
XmlDictionaryReader
reader)
180
public static void ThrowUndefinedPrefix(
XmlDictionaryReader
reader, string prefix)
186
public static void ThrowProcessingInstructionNotSupported(
XmlDictionaryReader
reader)
192
public static void ThrowInvalidXml(
XmlDictionaryReader
reader, byte b)
198
public static void ThrowUnexpectedEndOfFile(
XmlDictionaryReader
reader)
204
public static void ThrowUnexpectedEndElement(
XmlDictionaryReader
reader)
210
public static void ThrowTokenExpected(
XmlDictionaryReader
reader, string expected, char found)
216
public static void ThrowTokenExpected(
XmlDictionaryReader
reader, string expected, string found)
222
public static void ThrowInvalidCharRef(
XmlDictionaryReader
reader)
228
public static void ThrowTagMismatch(
XmlDictionaryReader
reader, string expectedPrefix, string expectedLocalName, string foundPrefix, string foundLocalName)
234
public static void ThrowDuplicateXmlnsAttribute(
XmlDictionaryReader
reader, string localName, string ns)
245
public static void ThrowDuplicateAttribute(
XmlDictionaryReader
reader, string prefix1, string prefix2, string localName, string ns)
251
public static void ThrowInvalidBinaryFormat(
XmlDictionaryReader
reader)
257
public static void ThrowInvalidRootData(
XmlDictionaryReader
reader)
263
public static void ThrowMultipleRootElements(
XmlDictionaryReader
reader)
269
public static void ThrowDeclarationNotFirst(
XmlDictionaryReader
reader)
275
public static void ThrowConversionOverflow(
XmlDictionaryReader
reader, string value, string type)
281
public static void ThrowXmlDictionaryStringIDOutOfRange(
XmlDictionaryReader
reader)
287
public static void ThrowXmlDictionaryStringIDUndefinedStatic(
XmlDictionaryReader
reader, int key)
293
public static void ThrowXmlDictionaryStringIDUndefinedSession(
XmlDictionaryReader
reader, int key)
299
public static void ThrowEmptyNamespace(
XmlDictionaryReader
reader)
System.Runtime.Serialization (1)
System.Runtime.Serialization.cs (1)
45
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.
XmlDictionaryReader
))]
System.Runtime.Serialization.Xml (1)
artifacts\obj\System.Runtime.Serialization.Xml\Debug\net10.0\System.Runtime.Serialization.Xml.Forwards.cs (1)
31
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.
XmlDictionaryReader
))]
System.ServiceModel.Federation (4)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (4)
241
var
reader =
XmlDictionaryReader
.CreateTextReader(memeoryStream.ToArray(), XmlDictionaryReaderQuotas.Max);
280
var
reader =
XmlDictionaryReader
.CreateTextReader(memeoryStream.ToArray(), XmlDictionaryReaderQuotas.Max);
System.ServiceModel.Primitives.Tests (2)
Channels\MessageTest.cs (2)
44
var
reader = message.GetReaderAtBodyContents();
59
var
reader = message.GetReaderAtBodyContents();
System.ServiceModel.Syndication (21)
System\ServiceModel\Syndication\Atom10ItemFormatter.cs (1)
110
_feedSerializer.ReadItemFrom(
XmlDictionaryReader
.CreateDictionaryReader(reader), Item);
System\ServiceModel\Syndication\ExtensibleSyndicationObject.cs (3)
49
private static XmlBuffer CreateXmlBuffer(
XmlDictionaryReader
unparsedExtensionsReader, int maxExtensionSize)
75
XmlDictionaryReader
r =
XmlDictionaryReader
.CreateDictionaryReader(readerOverUnparsedExtensions);
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (1)
133
_feedSerializer.ReadItemFrom(
XmlDictionaryReader
.CreateDictionaryReader(reader), Item);
System\ServiceModel\Syndication\SyndicationElementExtension.cs (1)
147
XmlDictionaryReader
reader = _buffer.GetReader(0);
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (3)
90
XmlDictionaryReader
reader = extensionsBuffer.GetReader(0);
118
using (
XmlDictionaryReader
reader = _buffer.GetReader(0))
204
using (
XmlDictionaryReader
reader = _buffer.GetReader(0))
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (4)
455
XmlExceptionHelper.ThrowStartElementExpected(
XmlDictionaryReader
.CreateDictionaryReader(reader));
473
private static void ThrowXmlException(
XmlDictionaryReader
reader, string res, string arg1)
492
private static string GetWhatWasFound(
XmlDictionaryReader
reader)
514
public static void ThrowStartElementExpected(
XmlDictionaryReader
reader)
System\ServiceModel\Syndication\XmlSyndicationContent.cs (4)
87
public
XmlDictionaryReader
GetReaderAtContent()
105
using (
XmlDictionaryReader
reader = _contentBuffer.GetReader(0))
124
using (
XmlDictionaryReader
reader = _contentBuffer.GetReader(0))
145
using (
XmlDictionaryReader
reader = _contentBuffer.GetReader(0))
System\ServiceModel\XmlBuffer.cs (4)
111
public
XmlDictionaryReader
GetReader(int sectionIndex)
116
XmlDictionaryReader
reader =
XmlDictionaryReader
.CreateBinaryReader(_buffer, section.Offset, section.Size, null, section.Quotas, null, null);
126
XmlDictionaryReader
reader = GetReader(sectionIndex);