4 types derived from XmlDictionaryReader
System.Private.DataContractSerialization (2)
System\Xml\XmlBaseReader.cs (1)
25internal abstract class XmlBaseReader : XmlDictionaryReader
System\Xml\XmlDictionaryReader.cs (1)
1312private sealed class XmlWrappedReader : XmlDictionaryReader, IXmlLineInfo
System.ServiceModel.Primitives (2)
Internals\System\Xml\XmlMtomReader.cs (2)
21internal class XmlMtomReader : XmlDictionaryReader, IXmlLineInfo, IXmlMtomReaderInitializer 1125internal class XopIncludeReader : XmlDictionaryReader, IXmlLineInfo
643 references to XmlDictionaryReader
Client.ChannelLayer.IntegrationTests (9)
DuplexChannelShapeTests.4.0.0.cs (2)
61var replyReader = replyMessage.GetReaderAtBodyContents(); 118var replyReader = replyMessage.GetReaderAtBodyContents();
DuplexChannelShapeTests.4.1.0.cs (2)
60var replyReader = replyMessage.GetReaderAtBodyContents(); 118var replyReader = replyMessage.GetReaderAtBodyContents();
RequestReplyChannelShapeTests.4.0.0.cs (4)
56var replyReader = replyMessage.GetReaderAtBodyContents(); 111var replyReader = replyMessage.GetReaderAtBodyContents(); 164var replyReader = replyMessage.GetReaderAtBodyContents(); 221var replyReader = replyMessage.GetReaderAtBodyContents();
RequestReplyChannelShapeTests.4.1.0.cs (1)
53var replyReader = replyMessage.GetReaderAtBodyContents();
Client.TypedClient.IntegrationTests (3)
TypedProxyTests.4.0.0.cs (3)
257var replyReader = replyMessage.GetReaderAtBodyContents(); 321var replyReader = replyMessage.GetReaderAtBodyContents(); 386var replyReader = replyMessage.GetReaderAtBodyContents();
Contract.Message.IntegrationTests (7)
MessageContractCommon.4.1.0.cs (2)
31public static XmlDictionaryReader GetResponseBodyReader(MyInspector inspector) 33XmlDictionaryReader reader = inspector.ReceivedMessage.GetReaderAtBodyContents();
MessageContractTests.4.1.0.cs (4)
22XmlDictionaryReader reader = MessageContractHelpers.GetResponseBodyReader(inspector); 40XmlDictionaryReader reader = MessageContractHelpers.GetResponseBodyReader(inspector); 55XmlDictionaryReader reader = MessageContractHelpers.GetResponseBodyReader(inspector); 97XmlDictionaryReader reader = MessageContractHelpers.GetResponseBodyReader(inspector);
MessageTests.4.0.0.cs (1)
46var replyReader = replyMessage.GetReaderAtBodyContents();
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
XmlDataContractSerializerInputFormatter.cs (1)
191return XmlDictionaryReader.CreateTextReader(readStream, encoding, _readerQuotas, onClose: null);
XmlSerializerInputFormatter.cs (1)
214return 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)
332public override object? ReadObject(XmlDictionaryReader reader, bool verifyObjectName) 339public override bool IsStartObject(XmlDictionaryReader reader) 346public object? ReadObject(XmlDictionaryReader reader, bool verifyObjectName, DataContractResolver? dataContractResolver)
System\Runtime\Serialization\Json\ByteArrayHelperWithString.cs (1)
28protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, byte[] array, int offset, int count)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (3)
238public override bool IsStartObject(XmlDictionaryReader reader) 269public override object? ReadObject(XmlDictionaryReader reader) 276public override object? ReadObject(XmlDictionaryReader reader, bool verifyObjectName)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (3)
81XmlDictionaryReader tempDictionaryReader = XmlDictionaryReader.CreateDictionaryReader(reader); 241protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, DateTime[] array, int offset, int count)
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\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
42xmlValue = dataContractSerializer.ReadObject(XmlDictionaryReader.CreateTextReader(memoryStream, quotas));
System\Runtime\Serialization\XmlObjectSerializer.cs (7)
274return ReadObject(XmlDictionaryReader.CreateTextReader(stream, XmlDictionaryReaderQuotas.Max)); 283return ReadObject(XmlDictionaryReader.CreateDictionaryReader(reader)); 288public virtual object? ReadObject(XmlDictionaryReader reader) 299return ReadObject(XmlDictionaryReader.CreateDictionaryReader(reader), verifyObjectName); 304public abstract object? ReadObject(XmlDictionaryReader reader, bool verifyObjectName); 312return IsStartObject(XmlDictionaryReader.CreateDictionaryReader(reader)); 317public abstract bool IsStartObject(XmlDictionaryReader reader);
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
16protected XmlDictionaryReader? dictionaryReader; 24this.dictionaryReader = reader as XmlDictionaryReader;
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\XmlBaseReader.cs (3)
1314return ReadContentAsBase64(_quotas.MaxArrayLength, XmlDictionaryReader.MaxInitialArrayLength); // Initial count will get ignored 3113private readonly XmlDictionaryReader _reader; 3118public QuotaNameTable(XmlDictionaryReader reader, int maxCharCount)
System\Xml\XmlBinaryWriter.cs (1)
1169protected override void WriteTextNode(XmlDictionaryReader reader, bool attribute)
System\Xml\XmlBufferReader.cs (2)
22private readonly XmlDictionaryReader _reader; 38public XmlBufferReader(XmlDictionaryReader reader)
System\Xml\XmlDictionaryAsyncCheckWriter.cs (1)
562public override void WriteNode(XmlDictionaryReader reader, bool defattr)
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.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)
241var reader = XmlDictionaryReader.CreateTextReader(memeoryStream.ToArray(), XmlDictionaryReaderQuotas.Max); 280var reader = XmlDictionaryReader.CreateTextReader(memeoryStream.ToArray(), XmlDictionaryReaderQuotas.Max);
System.ServiceModel.Primitives (461)
Internals\System\Xml\XmlExceptionHelper.cs (4)
12static void ThrowXmlException(XmlDictionaryReader reader, string res, string arg1) 17static void ThrowXmlException(XmlDictionaryReader reader, string res, string arg1, string arg2) 22static void ThrowXmlException(XmlDictionaryReader reader, string res, string arg1, string arg2, string arg3) 34static public void ThrowMaxStringContentLengthExceeded(XmlDictionaryReader reader, int maxStringContentLength)
Internals\System\Xml\XmlMtomReader.cs (13)
23public static XmlDictionaryReader Create(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas) 31public static XmlDictionaryReader Create(Stream stream, Encoding[] encodings, XmlDictionaryReaderQuotas quotas) 36public static XmlDictionaryReader Create(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas) 41public static XmlDictionaryReader Create(Stream stream, Encoding[] encodings, string contentType, 49public static XmlDictionaryReader Create(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas) 57public static XmlDictionaryReader Create(byte[] buffer, int offset, int count, Encoding[] encodings, XmlDictionaryReaderQuotas quotas) 62public static XmlDictionaryReader Create(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas) 67public static XmlDictionaryReader Create(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType, 76private XmlDictionaryReader _xmlReader; 77private XmlDictionaryReader _infosetReader; 178_xmlReader = XmlDictionaryReader.CreateTextReader(infosetBytes, 0, infosetByteCount, encoding, quotas, null); 1131private XmlDictionaryReader _parentReader; 1141public XopIncludeReader(MimePart part, XmlDictionaryReader reader)
Internals\System\Xml\XmlMtomWriter.cs (2)
644XmlReader contentTypeReader = XmlDictionaryReader.CreateBinaryReader(_contentTypeStream, null, XmlDictionaryReaderQuotas.Max, null, null); 787protected override void WriteTextNode(XmlDictionaryReader reader, bool attribute)
System\IdentityModel\Security\WSTrust.cs (4)
92public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlDictionaryReader reader) 103public override bool CanReadKeyIdentifierClauseCore(XmlDictionaryReader reader) 137public override bool CanReadKeyIdentifierClauseCore(XmlDictionaryReader reader) 142public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlDictionaryReader reader)
System\IdentityModel\Selectors\SecurityTokenSerializer.cs (6)
164public virtual bool CanReadKeyIdentifierClauseCore(XmlDictionaryReader reader) 169public abstract SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlDictionaryReader reader); 180public abstract bool CanReadClause(XmlDictionaryReader reader, string tokenType); 181public abstract SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType); 199public virtual bool CanReadKeyIdentifierCore(XmlDictionaryReader reader) 204public abstract SecurityKeyIdentifier ReadKeyIdentifierCore(XmlDictionaryReader reader);
System\IdentityModel\Tokens\KeyInfoSerializer.cs (10)
118XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 134XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 148XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 227XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 241XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\IdentityModel\Tokens\WSSecurityJan2004.cs (9)
168protected virtual string ReadTokenType(XmlDictionaryReader reader) 173public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlDictionaryReader reader) 268public override bool CanReadClause(XmlDictionaryReader reader, string tokenType) 285public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType) 400public override bool CanReadClause(XmlDictionaryReader reader, string tokenType) 413public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType) 464public override bool CanReadClause(XmlDictionaryReader reader, string tokenType) 473public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType) 526public override string ExtractId(XmlDictionaryReader reader)
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (1)
47protected override string ReadTokenType(XmlDictionaryReader reader)
System\IdentityModel\Tokens\XmlDsigSep2000.cs (2)
58public override SecurityKeyIdentifier ReadKeyIdentifierCore(XmlDictionaryReader reader) 129public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlDictionaryReader reader)
System\ServiceModel\Channels\AddressHeader.cs (8)
129using (XmlDictionaryReader reader = GetAddressHeaderReader()) 142public virtual XmlDictionaryReader GetAddressHeaderReader() 152private XmlDictionaryReader GetComparableReader() 342public BufferedAddressHeader(XmlDictionaryReader reader) 357public BufferedAddressHeader(XmlDictionaryReader reader, bool isReferenceProperty) 375public override XmlDictionaryReader GetAddressHeaderReader() 382XmlDictionaryReader reader = GetAddressHeaderReader(); 390XmlDictionaryReader reader = GetAddressHeaderReader();
System\ServiceModel\Channels\AddressHeaderCollection.cs (2)
187internal static AddressHeaderCollection ReadServiceParameters(XmlDictionaryReader reader) 192internal static AddressHeaderCollection ReadServiceParameters(XmlDictionaryReader reader, bool isReferenceProperty)
System\ServiceModel\Channels\Addressing.cs (15)
93public static string ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion) 106public static ActionHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 210public static FromHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 225public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion) 304public static FaultToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 319public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 459public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 464public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache) 483public static ToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache, 633public static ReplyToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 660public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 739public static UniqueId ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 745public static MessageIDHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 866public static void ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, out Uri relationshipType, out UniqueId messageId) 887public static RelatesToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
System\ServiceModel\Channels\BinaryMessageEncoder.cs (19)
160private XmlDictionaryReader TakeStreamedReader(Stream stream) 162return XmlDictionaryReader.CreateBinaryReader(stream, 205private ObjectPool<XmlDictionaryReader> _readerPool; 212_readerPool = NullCreatingPooledObjectPolicy<XmlDictionaryReader>.CreatePool(maxPoolSize); 231protected override XmlDictionaryReader TakeXmlReader() 234XmlDictionaryReader xmlReader = _readerPool.Get(); 246xmlReader = XmlDictionaryReader.CreateBinaryReader(buffer.Array, buffer.Offset, buffer.Count, 259protected override void ReturnXmlReader(XmlDictionaryReader reader) 592XmlDictionaryReader reader = _factory.TakeStreamedReader(stream); 690XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateBinaryReader(messageData.Array, messageData.Offset, messageData.Count, XD.Dictionary, XmlDictionaryReaderQuotas.Max, _readerSessionForLogging); 1476private XmlDictionaryReader _reader; 1500XmlDictionaryReader reader = messageData.GetMessageReader(); 1538XmlDictionaryReader reader = messageData.GetMessageReader(); 1587private XmlDictionaryReader GetBufferedReaderAtBody() 1589XmlDictionaryReader reader = _messageData.GetMessageReader(); 1597using (XmlDictionaryReader reader = GetBufferedReaderAtBody()) 1692protected override XmlDictionaryReader OnGetReaderAtBodyContents() 1694XmlDictionaryReader reader = _reader;
System\ServiceModel\Channels\BodyWriter.cs (1)
164XmlDictionaryReader reader = _buffer.GetReader(0);
System\ServiceModel\Channels\BufferedMessageData.cs (7)
86private void DoReturnXmlReader(XmlDictionaryReader reader) 106private XmlDictionaryReader DoTakeXmlReader() 108XmlDictionaryReader reader = TakeXmlReader(); 113public XmlDictionaryReader GetMessageReader() 128public void OnXmlReaderClosed(XmlDictionaryReader reader) 162protected abstract XmlDictionaryReader TakeXmlReader(); 180protected abstract void ReturnXmlReader(XmlDictionaryReader xmlReader);
System\ServiceModel\Channels\CloseSequence.cs (1)
22public static CloseSequenceInfo Create(XmlDictionaryReader reader)
System\ServiceModel\Channels\CloseSequenceResponse.cs (1)
20public static CloseSequenceResponseInfo Create(XmlDictionaryReader reader)
System\ServiceModel\Channels\CreateSequence.cs (1)
38XmlDictionaryReader reader)
System\ServiceModel\Channels\CreateSequenceResponse.cs (1)
37ReliableMessagingVersion reliableMessagingVersion, XmlDictionaryReader reader)
System\ServiceModel\Channels\Message.cs (47)
138return CreateMessage(version, action, XmlDictionaryReader.CreateDictionaryReader(body)); 141static public Message CreateMessage(MessageVersion version, string action, XmlDictionaryReader body) 208return CreateMessage(XmlDictionaryReader.CreateDictionaryReader(envelopeReader), maxSizeOfHeaders, version); 211static public Message CreateMessage(XmlDictionaryReader envelopeReader, int maxSizeOfHeaders, MessageVersion version) 294XmlDictionaryReader reader = GetReaderAtBodyContents(); // This call will change the message state to Read. 298protected virtual T OnGetBody<T>(XmlDictionaryReader reader) 313private T GetBodyCore<T>(XmlDictionaryReader reader, XmlObjectSerializer serializer) 324internal virtual XmlDictionaryReader GetReaderAtHeader() 339XmlDictionaryReader reader = buffer.GetReader(0); 345public XmlDictionaryReader GetReaderAtBodyContents() 383static internal bool IsFaultStartElement(XmlDictionaryReader reader, EnvelopeVersion version) 412protected virtual XmlDictionaryReader OnGetReaderAtBodyContents() 429XmlDictionaryReader reader = bodyBuffer.GetReader(0); 616internal void ReadFromBodyContentsToEnd(XmlDictionaryReader reader) 621private static void ReadFromBodyContentsToEnd(XmlDictionaryReader reader, EnvelopeVersion envelopeVersion) 631internal static bool ReadStartBody(XmlDictionaryReader reader, EnvelopeVersion envelopeVersion, out bool isFault, out bool isEmpty) 979private XmlDictionaryReader _reader; 982public XmlReaderBodyWriter(XmlDictionaryReader reader, EnvelopeVersion version) 1251protected static bool HasHeaderElement(XmlDictionaryReader reader, EnvelopeVersion envelopeVersion) 1260using (XmlDictionaryReader bodyReader = OnGetReaderAtBodyContents()) 1277protected bool ReadStartBody(XmlDictionaryReader reader) 1282protected static EnvelopeVersion ReadStartEnvelope(XmlDictionaryReader reader) 1308protected static void VerifyStartBody(XmlDictionaryReader reader, EnvelopeVersion version) 1327private XmlDictionaryReader _reader; 1330public StreamedMessage(XmlDictionaryReader reader, int maxSizeOfHeaders, MessageVersion desiredVersion) 1484protected override XmlDictionaryReader OnGetReaderAtBodyContents() 1486XmlDictionaryReader reader = _reader; 1534XmlDictionaryReader GetMessageReader(); 1545private XmlDictionaryReader _reader; 1566XmlDictionaryReader reader = messageData.GetMessageReader(); 1672protected override XmlDictionaryReader OnGetReaderAtBodyContents() 1674XmlDictionaryReader reader = _reader; 1679internal override XmlDictionaryReader GetReaderAtHeader() 1686XmlDictionaryReader reader = MessageData.GetMessageReader(); 1701public XmlDictionaryReader GetBufferedReaderAtBody() 1703XmlDictionaryReader reader = MessageData.GetMessageReader(); 1725public XmlDictionaryReader GetMessageReader() 1732using (XmlDictionaryReader reader = GetBufferedReaderAtBody()) 1836using (XmlDictionaryReader reader = GetMessageReader()) 1847using (XmlDictionaryReader reader = GetMessageReader()) 1866using (XmlDictionaryReader reader = GetBufferedReaderAtBody()) 1909using (XmlDictionaryReader reader = GetBufferedReaderAtBody()) 1956public static XmlAttributeHolder[] ReadAttributes(XmlDictionaryReader reader) 1962public static XmlAttributeHolder[] ReadAttributes(XmlDictionaryReader reader, ref int maxSizeOfHeaders) 2096public MessageHeaderInfo TakeHeaderInfo(XmlDictionaryReader reader, string actor, bool mustUnderstand, bool relay, bool isRefParam) 2160public HeaderInfo(XmlDictionaryReader reader, string actor, bool mustUnderstand, bool relay, bool isReferenceParameter) 2200public bool Matches(XmlDictionaryReader reader, string actor, bool mustUnderstand, bool relay, bool isRefParam)
System\ServiceModel\Channels\MessageFault.cs (15)
82XmlDictionaryReader reader = message.GetReaderAtBodyContents(); 192XmlDictionaryReader reader = GetReaderAtDetailContents(); 205public XmlDictionaryReader GetReaderAtDetailContents() 240protected virtual XmlDictionaryReader OnGetReaderAtDetailContents() 247XmlDictionaryReader reader = detailBuffer.GetReader(0); 265using (XmlDictionaryReader reader = headers.GetReaderAtHeader(i)) 623XmlDictionaryReader reader = detail.GetReader(0); 694protected override XmlDictionaryReader OnGetReaderAtDetailContents() 696XmlDictionaryReader reader = _detail.GetReader(0); 716public static ReceivedFault CreateFaultNone(XmlDictionaryReader reader, int maxBufferSize) 721private static ReceivedFault CreateFault12Driver(XmlDictionaryReader reader, int maxBufferSize, EnvelopeVersion version) 769private static FaultCode ReadFaultCode12Driver(XmlDictionaryReader reader, EnvelopeVersion version) 787public static ReceivedFault CreateFault12(XmlDictionaryReader reader, int maxBufferSize) 792private static FaultReasonText ReadTranslation12(XmlDictionaryReader reader) 799public static ReceivedFault CreateFault11(XmlDictionaryReader reader, int maxBufferSize)
System\ServiceModel\Channels\MessageHeader.cs (7)
222internal static void GetHeaderAttributes(XmlDictionaryReader reader, MessageVersion version, 483public abstract XmlDictionaryReader GetHeaderReader(); 492XmlDictionaryReader reader = GetHeaderReader(); 500XmlDictionaryReader reader = GetHeaderReader(); 557public BufferedHeader(MessageVersion version, XmlBuffer buffer, XmlDictionaryReader reader, XmlAttributeHolder[] envelopeAttributes, XmlAttributeHolder[] headerAttributes) 632public override XmlDictionaryReader GetHeaderReader() 634XmlDictionaryReader reader = _buffer.GetReader(_bufferIndex);
System\ServiceModel\Channels\MessageHeaders.cs (22)
46internal MessageHeaders(MessageVersion version, XmlDictionaryReader reader, XmlAttributeHolder[] envelopeAttributes, XmlAttributeHolder[] headerAttributes, ref int maxSizeOfHeaders) 101internal MessageHeaders(MessageVersion version, XmlDictionaryReader reader, IBufferedMessageData bufferedMessageData, RecycledMessageState recycledMessageState, bool[] understoodHeaders, bool understoodHeadersModified) 145using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 196using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 230using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 279using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 327using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 361using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 482using (XmlDictionaryReader reader = GetBufferedMessageHeaderReaderAtHeaderContents(_bufferedMessageData)) 509private BufferedHeader CaptureBufferedHeader(XmlDictionaryReader reader, MessageHeaderInfo headerInfo) 883private static XmlDictionaryReader GetBufferedMessageHeaderReaderAtHeaderContents(IBufferedMessageData bufferedMessageData) 885XmlDictionaryReader reader = bufferedMessageData.GetMessageReader(); 907private XmlDictionaryReader GetBufferedMessageHeaderReader(IBufferedMessageData bufferedMessageData, int bufferedMessageHeaderIndex) 916XmlDictionaryReader reader = GetBufferedMessageHeaderReaderAtHeaderContents(bufferedMessageData); 936private void Skip(XmlDictionaryReader reader) 1014using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 1102public XmlDictionaryReader GetReaderAtHeader(int headerIndex) 1150using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 1163XmlDictionaryReader reader = _bufferedMessageData.GetMessageReader(); 1193using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 1310internal void Init(MessageVersion version, XmlDictionaryReader reader, IBufferedMessageData bufferedMessageData, RecycledMessageState recycledMessageState, bool[] understoodHeaders, bool understoodHeadersModified) 1462private void ReadBufferedHeader(XmlDictionaryReader reader, RecycledMessageState recycledMessageState, XmlDictionaryString[] localNames, bool understood)
System\ServiceModel\Channels\MtomMessageEncoder.cs (12)
34private volatile SynchronizedPool<XmlDictionaryReader> _streamedReaderPool; 179_streamedReaderPool = new SynchronizedPool<XmlDictionaryReader>(MaxReadPoolSize); 183XmlDictionaryReader xmlReader = _streamedReaderPool.Take(); 209xmlReader = XmlDictionaryReader.CreateTextReader(stream, TextMessageEncoderFactory.GetEncodingFromContentType(contentType, ContentEncodingMap), ReaderQuotas, _onStreamedReaderClose); 231internal void ReturnStreamedReader(XmlDictionaryReader xmlReader) 501XmlDictionaryReader xmlDictionaryReader = XmlMtomReader.Create(messageData.Array, messageData.Offset, messageData.Count, MtomMessageEncoderFactory.GetSupportedEncodings(), contentType, XmlDictionaryReaderQuotas.Max, int.MaxValue, null); 587private ObjectPool<XmlDictionaryReader> _readerPool; 595_readerPool = NullCreatingPooledObjectPolicy<XmlDictionaryReader>.CreatePool(maxReaderPoolSize); 608protected override XmlDictionaryReader TakeXmlReader() 614XmlDictionaryReader xmlReader = _readerPool.Get(); 638xmlReader = XmlDictionaryReader.CreateTextReader(buffer.Array, buffer.Offset, buffer.Count, TextMessageEncoderFactory.GetEncodingFromContentType(_contentType, _messageEncoder._factory.ContentEncodingMap), Quotas, _onClose); 659protected override void ReturnXmlReader(XmlDictionaryReader xmlReader)
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (4)
2011public static void ReadEmptyElement(XmlDictionaryReader reader) 2024public static UniqueId ReadIdentifier(XmlDictionaryReader reader, 2033public static Int64 ReadSequenceNumber(XmlDictionaryReader reader) 2038public static Int64 ReadSequenceNumber(XmlDictionaryReader reader, bool allowZero)
System\ServiceModel\Channels\TerminateSequence.cs (1)
30XmlDictionaryReader reader)
System\ServiceModel\Channels\TerminateSequenceResponse.cs (1)
25public static TerminateSequenceResponseInfo Create(XmlDictionaryReader reader)
System\ServiceModel\Channels\TextMessageEncoder.cs (6)
540XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateTextReader(messageData.Array, messageData.Offset, messageData.Count, XmlDictionaryReaderQuotas.Max); 655return XmlDictionaryReader.CreateTextReader(stream, ReaderQuotas); 752protected override XmlDictionaryReader TakeXmlReader() 755return XmlDictionaryReader.CreateTextReader(buffer.Array, buffer.Offset, buffer.Count, Quotas); 758protected override void ReturnXmlReader(XmlDictionaryReader xmlReader)
System\ServiceModel\Channels\WsrmFault.cs (19)
248protected WsrmHeaderFault(FaultCode code, string subcode, FaultReason reason, XmlDictionaryReader detailReader, 294string subcode, FaultReason reason, XmlDictionaryReader detailReader) 390private static UniqueId ParseDetail(XmlDictionaryReader reader, ReliableMessagingVersion reliableMessagingVersion) 432XmlDictionaryReader detailReader = WsrmSequenceFaultHeader.GetReaderAtDetailContents(detailName, 472XmlDictionaryReader detailReader = fault.GetReaderAtDetailContents(); 492XmlDictionaryReader detailReader, ReliableMessagingVersion reliableMessagingVersion) 531XmlDictionaryReader detailReader, ReliableMessagingVersion reliableMessagingVersion) 546public MessageNumberRolloverFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader, 601public SequenceClosedFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader, 615public SequenceTerminatedFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader, 652public UnknownSequenceFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader, 702public static XmlDictionaryReader GetReaderAtDetailContents(string detailName, string detailNamespace, 703XmlDictionaryReader headerReader, ReliableMessagingVersion reliableMessagingVersion) 715public static XmlDictionaryReader GetReaderAtDetailContents11(string detailName, string detailNamespace, 716XmlDictionaryReader headerReader) 734public static XmlDictionaryReader GetReaderAtDetailContentsFeb2005(string detailName, string detailNamespace, 735XmlDictionaryReader headerReader) 788XmlDictionaryReader detailReader = buffer.GetReader(index); 797public static string GetSubcode(XmlDictionaryReader headerReader,
System\ServiceModel\Channels\WsrmMessageInfo.cs (18)
316using (XmlDictionaryReader reader = headers.GetReaderAtHeader(minIndex)) 379using (XmlDictionaryReader reader = headers.GetReaderAtHeader(usesSequenceSSLIndex)) 390using (XmlDictionaryReader reader = headers.GetReaderAtHeader(usesSequenceSTRIndex)) 403using (XmlDictionaryReader reader = headers.GetReaderAtHeader(sequenceIndex)) 415using (XmlDictionaryReader reader = headers.GetReaderAtHeader(ackIndex)) 426using (XmlDictionaryReader reader = headers.GetReaderAtHeader(ackRequestedIndex)) 628using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 666using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 710using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 787using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 823using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 864using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 982XmlDictionaryReader reader, MessageHeaderInfo header) 1096XmlDictionaryReader reader, out UniqueId sequenceId, out SequenceRangeCollection rangeCollection, 1192XmlDictionaryReader reader, MessageHeaderInfo header) 1364XmlDictionaryReader reader, MessageHeaderInfo header) 1430public static WsrmUsesSequenceSSLInfo ReadHeader(XmlDictionaryReader reader, MessageHeaderInfo header) 1466public static WsrmUsesSequenceSTRInfo ReadHeader(XmlDictionaryReader reader, MessageHeaderInfo header)
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (2)
46using (XmlDictionaryReader reader = message.Headers.GetReaderAtHeader(index)) 82using (XmlDictionaryReader reader = message.Headers.GetReaderAtHeader(index))
System\ServiceModel\Diagnostics\MessageLogger.cs (1)
67internal static void LogMessage(ref Channels.Message message, Xml.XmlDictionaryReader xmlDictionaryReader, MessageLoggingSource messageLoggingSource)
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
437using (XmlDictionaryReader reader = message.Headers.GetReaderAtHeader(index))
System\ServiceModel\Dispatcher\ClientRuntime.cs (1)
471using (XmlDictionaryReader reader = copy.GetReaderAtBodyContents())
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (9)
328XmlDictionaryReader headerReader = headers.GetReaderAtHeader(i); 367XmlDictionaryReader headerReader = headers.GetReaderAtHeader(i); 397private object DeserializeHeaderContents(XmlDictionaryReader reader, MessageDescription messageDescription, MessageHeaderDescription headerDescription) 410protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest) 474private void DeserializeParameters(XmlDictionaryReader reader, PartInfo[] parts, object[] parameters, bool isRequest) 501private object DeserializeParameter(XmlDictionaryReader reader, PartInfo part, bool isRequest) 516private object DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, bool isRequest) 650public object ReadObject(XmlDictionaryReader reader) 655public object ReadObject(XmlDictionaryReader reader, XmlObjectSerializer serializer)
System\ServiceModel\Dispatcher\FaultFormatter.cs (2)
128XmlDictionaryReader detailReader = messageFault.GetReaderAtDetailContents(); 152object detailObj, Type detailType, XmlDictionaryReader detailReader)
System\ServiceModel\Dispatcher\OperationFormatter.cs (4)
60protected abstract object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest); 256XmlDictionaryReader reader = message.GetReaderAtBodyContents(); 939XmlDictionaryReader nodeReader = XmlDictionaryReader.CreateDictionaryReader(new XmlNodeReader(headerValue));
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (9)
495XmlDictionaryReader bodyReader = message.GetReaderAtBodyContents(); 544XmlDictionaryReader bodyReader = message.GetReaderAtBodyContents(); 573private void DeserializeRequest(XmlDictionaryReader reader, object[] parameters) 598private object DeserializeResponse(XmlDictionaryReader reader, object[] parameters) 649private void DeserializeParameters(XmlDictionaryReader reader, PartInfo[] parts, object[] parameters) 681private bool IsPartElements(XmlDictionaryReader reader, PartInfo[] parts) 694private bool IsPartElement(XmlDictionaryReader reader, PartInfo part) 699private object DeserializeParameter(XmlDictionaryReader reader, PartInfo part) 810public object ReadValue(XmlDictionaryReader reader)
System\ServiceModel\Dispatcher\StreamFormatter.cs (2)
281private XmlDictionaryReader _reader; 407private static void Exhaust(XmlDictionaryReader reader)
System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (1)
90XmlDictionaryReader detailReader = messageFault.GetReaderAtDetailContents();
System\ServiceModel\Dispatcher\XmlSerializerObjectSerializer.cs (2)
98public override object ReadObject(XmlDictionaryReader reader, bool verifyObjectName) 118public override bool IsStartObject(XmlDictionaryReader reader)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (6)
194XmlDictionaryReader headerReader = headers.GetReaderAtHeader(headerIndex); 238XmlDictionaryReader bufferReader = XmlDictionaryReader.CreateTextReader(memoryBuffer.Array, 0, (int)memoryStream.Length, XmlDictionaryReaderQuotas.Max); 276private static void AddUnknownHeader(MessageHeaderDescription unknownHeaderDescription, ArrayList unknownHeaders, XmlDocument xmlDoc, XmlDictionaryWriter bufferWriter, MessageHeaderInfo header, XmlDictionaryReader headerReader) 394protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest) 436private object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, object[] parameters, bool isRequest)
System\ServiceModel\EndpointAddress.cs (29)
119internal EndpointAddress(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlDictionaryReader metadataReader, XmlDictionaryReader extensionReader, XmlDictionaryReader pspReader) 456internal XmlDictionaryReader GetReaderAtPsp() 462public XmlDictionaryReader GetReaderAtMetadata() 468public XmlDictionaryReader GetReaderAtExtensions() 473private static XmlDictionaryReader GetReaderAtSection(XmlBuffer buffer, int section) 480XmlDictionaryReader reader = buffer.GetReader(section); 487private void PossiblyPopulateBuffer(XmlDictionaryReader reader, ref XmlBuffer buffer, out int section) 507public static EndpointAddress ReadFrom(XmlDictionaryReader reader) 513internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, out AddressingVersion version) 547public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader) 565public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 578private static EndpointAddress ReadFromDriver(AddressingVersion addressingVersion, XmlDictionaryReader reader) 613internal static XmlBuffer ReadExtensions(XmlDictionaryReader reader, AddressingVersion version, XmlBuffer buffer, out EndpointIdentity identity, out int section) 673private static bool ReadContentsFrom200408(XmlDictionaryReader reader, out Uri uri, out AddressHeaderCollection headers, out EndpointIdentity identity, out XmlBuffer buffer, out int metadataSection, out int extensionSection, out int pspSection) 847private static bool ReadContentsFrom10(XmlDictionaryReader reader, out Uri uri, out AddressHeaderCollection headers, out EndpointIdentity identity, out XmlBuffer buffer, out int metadataSection, out int extensionSection) 919private static XmlException CreateXmlException(XmlDictionaryReader reader, string message) 931private static bool Done(XmlDictionaryReader reader) 938static internal void Copy(XmlDictionaryWriter writer, XmlDictionaryReader reader) 1022XmlDictionaryReader reader = null; 1088XmlDictionaryReader reader = GetReaderAtSection(Buffer, _metadataSection); 1103XmlDictionaryReader reader = GetReaderAtSection(Buffer, _extensionSection); 1238public XmlDictionaryReader GetReaderAtMetadata() 1250XmlDictionaryReader reader = _metadataBuffer.GetReader(0); 1257public void SetMetadataReader(XmlDictionaryReader reader) 1272public XmlDictionaryReader GetReaderAtExtensions() 1284XmlDictionaryReader reader = _extensionBuffer.GetReader(0); 1291public void SetExtensionReader(XmlDictionaryReader reader)
System\ServiceModel\EndpointIdentity.cs (1)
144internal static EndpointIdentity ReadIdentity(XmlDictionaryReader reader)
System\ServiceModel\RsaEndpointIdentity.cs (1)
44internal RsaEndpointIdentity(XmlDictionaryReader reader)
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
206XmlDictionaryReader bodyReader = incomingMessage.GetReaderAtBodyContents();
System\ServiceModel\Security\ReceiveSecurityHeader.cs (14)
272internal XmlDictionaryReader CreateSecurityHeaderReader() 279XmlDictionaryReader securityHeaderReader = GetReaderAtSecurityHeader(); 285XmlDictionaryReader reader = null; 301private XmlDictionaryReader GetReaderAtSecurityHeader() 303XmlDictionaryReader reader = SecurityVerifiedMessage.GetReaderAtFirstHeader(); 337XmlDictionaryReader reader = CreateSecurityHeaderReader(); 522internal void ExecuteFullPass(XmlDictionaryReader reader) 595private void ReadTimestamp(XmlDictionaryReader reader) 627private void ReadToken(XmlDictionaryReader reader, int position, byte[] decryptedBuffer, 803protected abstract bool IsReaderAtEncryptedKey(XmlDictionaryReader reader); 804protected abstract bool IsReaderAtEncryptedData(XmlDictionaryReader reader); 805protected abstract bool IsReaderAtReferenceList(XmlDictionaryReader reader); 806protected abstract bool IsReaderAtSignature(XmlDictionaryReader reader); 807protected abstract bool IsReaderAtSecurityTokenReference(XmlDictionaryReader reader);
System\ServiceModel\Security\ReceiveSecurityHeaderElementManager.cs (2)
85internal XmlDictionaryReader GetReader(int index, bool requiresEncryptedFormReader) 97XmlDictionaryReader securityHeaderReader = _securityHeader.CreateSecurityHeaderReader();
System\ServiceModel\Security\RequestSecurityToken.cs (1)
454writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(_cachedWriteBuffer.Array, 0, _cachedWriteBufferLength, XD.Dictionary, XmlDictionaryReaderQuotas.Max), false);
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (1)
594writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(_cachedWriteBuffer.Array, 0, _cachedWriteBufferLength, XD.Dictionary, XmlDictionaryReaderQuotas.Max), false);
System\ServiceModel\Security\SecureConversationDriver.cs (2)
64public abstract UniqueId GetSecurityContextTokenId(XmlDictionaryReader reader); 65public abstract bool IsAtSecurityContextToken(XmlDictionaryReader reader);
System\ServiceModel\Security\SecurityAppliedMessage.cs (3)
100XmlDictionaryReader reader = _fullBodyBuffer.GetReader(0); 126XmlDictionaryReader reader = _fullBodyBuffer.GetReader(0); 153XmlDictionaryReader reader = _fullBodyBuffer.GetReader(0);
System\ServiceModel\Security\SecurityHeaderElementInferenceEngine.cs (1)
12public abstract void ExecuteProcessingPasses(ReceiveSecurityHeader securityHeader, XmlDictionaryReader reader);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (3)
708XmlDictionaryReader bodyReader = response.GetReaderAtBodyContents(); 778XmlDictionaryReader bodyReader = message.GetReaderAtBodyContents(); 1357return standardsManager.SecureConversationDriver.GetSecurityContextTokenId(XmlDictionaryReader.CreateDictionaryReader(new XmlNodeReader(gxt.TokenXml)));
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
621XmlDictionaryReader bodyReader = response.GetReaderAtBodyContents();
System\ServiceModel\Security\SecurityVerifiedMessage.cs (27)
16private XmlDictionaryReader _cachedDecryptedBodyContentReader; 27private XmlDictionaryReader _cachedReaderAtSecurityHeader; 37XmlDictionaryReader messageReader; 116public XmlDictionaryReader CreateFullBodyReader() 129private XmlDictionaryReader CreateFullBodyReaderFromBufferedState() 133XmlDictionaryReader reader = _messageBuffer.GetReader(0); 143private XmlDictionaryReader CreateFullBodyReaderFromDecryptedState() 145XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(_decryptedBuffer, 0, _decryptedBuffer.Length, ReceivedSecurityHeader.ReaderQuotas); 154XmlDictionaryReader reader = CreateFullBodyReader(); 177private XmlDictionaryReader GetReaderAtEnvelope() 189public XmlDictionaryReader GetReaderAtFirstHeader() 191XmlDictionaryReader reader = GetReaderAtEnvelope(); 197public XmlDictionaryReader GetReaderAtSecurityHeader() 201XmlDictionaryReader result = _cachedReaderAtSecurityHeader; 208private void MoveToBody(XmlDictionaryReader reader) 225private void MoveToHeaderBlock(XmlDictionaryReader reader, bool captureAttributes) 244private void MoveToSecurityHeader(XmlDictionaryReader reader, int headerIndex, bool captureAttributes) 313protected override XmlDictionaryReader OnGetReaderAtBodyContents() 325XmlDictionaryReader result = _cachedDecryptedBodyContentReader; 331XmlDictionaryReader reader = CreateFullBodyReader(); 363XmlDictionaryReader reader = CreateFullBodyReader(); 378XmlDictionaryReader reader = CreateFullBodyReader(); 389public void SetBodyPrefixAndAttributes(XmlDictionaryReader bodyReader) 438internal static XmlDictionaryReader CreateSplicedReader(byte[] decryptedBuffer, 461XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(splicedBuffer, quotas);
System\ServiceModel\Security\SecurityVersion.cs (4)
92internal virtual bool IsReaderAtSignatureConfirmation(XmlDictionaryReader reader) 97internal virtual ISignatureValueSecurityElement ReadSignatureConfirmation(XmlDictionaryReader reader) 227internal override bool IsReaderAtSignatureConfirmation(XmlDictionaryReader reader) 232internal override ISignatureValueSecurityElement ReadSignatureConfirmation(XmlDictionaryReader reader)
System\ServiceModel\Security\SignatureTargetIdManager.cs (1)
20public abstract string ExtractId(XmlDictionaryReader reader);
System\ServiceModel\Security\StrictModeSecurityHeaderElementInferenceEngine.cs (1)
15public override void ExecuteProcessingPasses(ReceiveSecurityHeader securityHeader, XmlDictionaryReader reader)
System\ServiceModel\Security\WSKeyInfoSerializer.cs (5)
107public override bool CanReadClause(XmlDictionaryReader reader, string tokenType) 137public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType) 159protected abstract UniqueId ReadGeneration(XmlDictionaryReader reader); 258protected override UniqueId ReadGeneration(XmlDictionaryReader reader) 314protected override UniqueId ReadGeneration(XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecureConversation.cs (9)
41public virtual bool IsAtDerivedKeyToken(XmlDictionaryReader reader) 46public virtual void ReadDerivedKeyTokenParameters(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver, out string id, out string derivationAlgorithm, out string label, out int length, out byte[] nonce, out int offset, out int generation, out SecurityKeyIdentifierClause tokenToDeriveIdentifier, out SecurityToken tokenToDerive) 115public virtual void ReadDerivedKeyTokenParameters(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver, out string id, out string derivationAlgorithm, out string label, out int length, out byte[] nonce, out int offset, out int generation, out SecurityKeyIdentifierClause tokenToDeriveIdentifier, out SecurityToken tokenToDerive) 226public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 353protected abstract bool CanReadGeneration(XmlDictionaryReader reader); 355protected abstract UniqueId ReadGeneration(XmlDictionaryReader reader); 405public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 544public override UniqueId GetSecurityContextTokenId(XmlDictionaryReader reader) 561public override bool IsAtSecurityContextToken(XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecureConversationDec2005.cs (2)
70protected override bool CanReadGeneration(XmlDictionaryReader reader) 81protected override UniqueId ReadGeneration(XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecureConversationFeb2005.cs (2)
55protected override bool CanReadGeneration(XmlDictionaryReader reader) 66protected override UniqueId ReadGeneration(XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecurityJan2004.cs (8)
133public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 206public override bool CanReadTokenCore(XmlDictionaryReader reader) 217public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 227using (XmlDictionaryReader reader = bufferedXmlToken.TokenXmlBuffer.GetReader(0)) 272public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 316private static string ParsePassword(XmlDictionaryReader reader) 327private static void ParseToken(XmlDictionaryReader reader, out string id, out string userName, out string password) 430public override string ExtractId(XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (5)
22protected override bool IsReaderAtReferenceList(XmlDictionaryReader reader) 27protected override bool IsReaderAtSignature(XmlDictionaryReader reader) 37protected override bool IsReaderAtEncryptedKey(XmlDictionaryReader reader) 42protected override bool IsReaderAtEncryptedData(XmlDictionaryReader reader) 54protected override bool IsReaderAtSecurityTokenReference(XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (2)
167XmlDictionaryReader dicReader = canonicalBuffer.GetReader(0); 211XmlDictionaryReader dicReader = canonicalBuffer.GetReader(0);
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (7)
189XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 203XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 487public virtual bool CanReadTokenCore(XmlDictionaryReader reader) 493public virtual Task<SecurityToken> ReadTokenCoreAsync(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 500public abstract SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver);
System\ServiceModel\Security\WSTrust.cs (11)
87public override bool CanReadTokenCore(XmlDictionaryReader reader) 111public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 222XmlDictionaryReader reader = XmlDictionaryReader.CreateDictionaryReader(xmlReader); 269using (XmlDictionaryReader reader = rstrBuffer.GetReader(0)) 303XmlDictionaryReader reader = XmlDictionaryReader.CreateDictionaryReader(xmlReader); 395XmlDictionaryReader reader = XmlDictionaryReader.CreateDictionaryReader(xmlReader); 880XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\ServiceModel\Security\WSUtilitySpecificationVersion.cs (4)
48internal abstract bool IsReaderAtTimestamp(XmlDictionaryReader reader); 50internal abstract SecurityTimestamp ReadTimestamp(XmlDictionaryReader reader, string digestAlgorithm, SignatureResourcePool resourcePool); 65internal override bool IsReaderAtTimestamp(XmlDictionaryReader reader) 70internal override SecurityTimestamp ReadTimestamp(XmlDictionaryReader reader, string digestAlgorithm, SignatureResourcePool resourcePool)
System\ServiceModel\Security\XmlHelper.cs (8)
219internal static string ReadEmptyElementAndRequiredAttribute(XmlDictionaryReader reader, 240internal static string GetRequiredNonEmptyAttribute(XmlDictionaryReader reader, XmlDictionaryString name, XmlDictionaryString ns) 250internal static byte[] GetRequiredBase64Attribute(XmlDictionaryReader reader, XmlDictionaryString name, XmlDictionaryString ns) 327internal static UniqueId GetAttributeAsUniqueId(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 332private static UniqueId GetAttributeAsUniqueId(XmlDictionaryReader reader, string name, string ns) 372static public Int64 ReadElementContentAsInt64(XmlDictionaryReader reader) 385static public UniqueId ReadElementStringAsUniqueId(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 399static public UniqueId ReadElementStringAsUniqueId(XmlDictionaryReader reader)
System\ServiceModel\X509CertificateEndpointIdentity.cs (1)
48internal X509CertificateEndpointIdentity(XmlDictionaryReader reader)
System\ServiceModel\XmlBuffer.cs (4)
134public XmlDictionaryReader GetReader(int sectionIndex) 142XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(_buffer, section.Offset, section.Size, XD.Dictionary, section.Quotas); 154XmlDictionaryReader reader = GetReader(sectionIndex);
System\ServiceModel\XmlUtil.cs (1)
144public static DateTime ReadElementContentAsDateTime(this XmlDictionaryReader reader)
System.ServiceModel.Primitives.Tests (2)
Channels\MessageTest.cs (2)
44var reader = message.GetReaderAtBodyContents(); 59var 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)
49private static XmlBuffer CreateXmlBuffer(XmlDictionaryReader unparsedExtensionsReader, int maxExtensionSize) 75XmlDictionaryReader r = XmlDictionaryReader.CreateDictionaryReader(readerOverUnparsedExtensions);
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (1)
133_feedSerializer.ReadItemFrom(XmlDictionaryReader.CreateDictionaryReader(reader), Item);
System\ServiceModel\Syndication\SyndicationElementExtension.cs (1)
147XmlDictionaryReader reader = _buffer.GetReader(0);
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (3)
90XmlDictionaryReader reader = extensionsBuffer.GetReader(0); 118using (XmlDictionaryReader reader = _buffer.GetReader(0)) 204using (XmlDictionaryReader reader = _buffer.GetReader(0))
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (4)
455XmlExceptionHelper.ThrowStartElementExpected(XmlDictionaryReader.CreateDictionaryReader(reader)); 473private static void ThrowXmlException(XmlDictionaryReader reader, string res, string arg1) 492private static string GetWhatWasFound(XmlDictionaryReader reader) 514public static void ThrowStartElementExpected(XmlDictionaryReader reader)
System\ServiceModel\Syndication\XmlSyndicationContent.cs (4)
87public XmlDictionaryReader GetReaderAtContent() 105using (XmlDictionaryReader reader = _contentBuffer.GetReader(0)) 124using (XmlDictionaryReader reader = _contentBuffer.GetReader(0)) 145using (XmlDictionaryReader reader = _contentBuffer.GetReader(0))
System\ServiceModel\XmlBuffer.cs (4)
111public XmlDictionaryReader GetReader(int sectionIndex) 116XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(_buffer, section.Offset, section.Size, null, section.Quotas, null, null); 126XmlDictionaryReader reader = GetReader(sectionIndex);