8 types derived from XmlDictionaryReader
System.IdentityModel (3)
System\IdentityModel\DelegatingXmlDictionaryReader.cs (1)
13public class DelegatingXmlDictionaryReader : XmlDictionaryReader
System\IdentityModel\IdentityModelWrappedXmlDictionaryReader.cs (1)
16internal class IdentityModelWrappedXmlDictionaryReader : XmlDictionaryReader, IXmlLineInfo
System\IdentityModel\WrappedXmlDictionaryReader.cs (1)
18internal class WrappedXmlDictionaryReader : XmlDictionaryReader, IXmlLineInfo
System.Runtime.Serialization (4)
System\Xml\XmlBaseReader.cs (1)
21abstract class XmlBaseReader : XmlDictionaryReader
System\Xml\XmlDictionaryReader.cs (1)
1346class XmlWrappedReader : XmlDictionaryReader, IXmlLineInfo
System\Xml\XmlMtomReader.cs (2)
23class XmlMtomReader : XmlDictionaryReader, IXmlLineInfo, IXmlMtomReaderInitializer 1073internal class XopIncludeReader : XmlDictionaryReader, IXmlLineInfo
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\XmlByteStreamReader.cs (1)
12abstract class XmlByteStreamReader : XmlDictionaryReader
934 references to XmlDictionaryReader
System.Activities.DurableInstancing (4)
System\Activities\DurableInstancing\DefaultObjectSerializer.cs (4)
61using (XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateBinaryReader(stream, XmlDictionaryReaderQuotas.Max)) 82using (XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateBinaryReader(stream, XmlDictionaryReaderQuotas.Max))
System.IdentityModel (209)
System\IdentityModel\CanonicalizationDriver.cs (2)
88XmlDictionaryReader dicReader = this.reader as XmlDictionaryReader;
System\IdentityModel\CipherDataElement.cs (1)
35public void ReadXml( XmlDictionaryReader reader )
System\IdentityModel\Configuration\ConfigurationElementInterceptor.cs (1)
19using ( XmlReader newReader = XmlDictionaryReader.CreateTextReader( Encoding.UTF8.GetBytes( elementXml.DocumentElement.OuterXml ), XmlDictionaryReaderQuotas.Max ) )
System\IdentityModel\DelegatingXmlDictionaryReader.cs (3)
15XmlDictionaryReader _innerReader; 28protected void InitializeInnerReader(XmlDictionaryReader innerReader) 41protected XmlDictionaryReader InnerReader
System\IdentityModel\EncryptedDataElement.cs (2)
117public override void ReadExtensions( XmlDictionaryReader reader ) 128public override void ReadXml( XmlDictionaryReader reader )
System\IdentityModel\EncryptedKeyElement.cs (2)
46public override void ReadExtensions( XmlDictionaryReader reader ) 128public override void ReadXml( XmlDictionaryReader reader )
System\IdentityModel\EncryptedTypeElement.cs (2)
107public abstract void ReadExtensions(XmlDictionaryReader reader); 134public virtual void ReadXml(XmlDictionaryReader reader)
System\IdentityModel\EncryptionMethodElement.cs (1)
27public void ReadXml( XmlDictionaryReader reader )
System\IdentityModel\EnvelopedSignatureReader.cs (2)
82XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\IdentityModel\EnvelopedSignatureTransform.cs (1)
55public override void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager, bool preserveComments)
System\IdentityModel\EnvelopedSignatureWriter.cs (1)
166XmlReader reader = XmlDictionaryReader.CreateTextReader(_writerStream, XmlDictionaryReaderQuotas.Max);
System\IdentityModel\ExclusiveCanonicalizationTransform.cs (3)
148XmlDictionaryReader dictionaryReader = reader as XmlDictionaryReader; 163public override void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager, bool preserveComments)
System\IdentityModel\KeyInfo.cs (1)
43public virtual void ReadXml( XmlDictionaryReader reader )
System\IdentityModel\Metadata\MetadataSerializer.cs (4)
1183XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(stream, XmlDictionaryReaderQuotas.Max); 1214if (false == (reader is XmlDictionaryReader)) 1216reader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\IdentityModel\PreDigestedSignedInfo.cs (1)
101public override void ReadFrom(XmlDictionaryReader reader, TransformFactory transformFactory, DictionaryManager dictionaryManager)
System\IdentityModel\Protocols\WSTrust\EndpointReference.cs (2)
78return ReadFrom(XmlDictionaryReader.CreateDictionaryReader(reader)); 87public static EndpointReference ReadFrom(XmlDictionaryReader reader)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (6)
565primary = EndpointReference.ReadFrom(XmlDictionaryReader.CreateDictionaryReader(reader)); 572participants.Add(EndpointReference.ReadFrom(XmlDictionaryReader.CreateDictionaryReader(reader))); 2614issuer = EndpointReference.ReadFrom(XmlDictionaryReader.CreateDictionaryReader(reader)); 2664appliesTo = EndpointReference.ReadFrom(XmlDictionaryReader.CreateDictionaryReader(reader)); 2822XmlDictionaryReader memoryReader = XmlDictionaryReader.CreateTextReader(ms, Encoding.UTF8, XmlDictionaryReaderQuotas.Max, null);
System\IdentityModel\SamlDelegatingWriter.cs (3)
94XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(this.writerStream, this.dictionary, XmlDictionaryReaderQuotas.Max); 294public override void WriteNode(XmlDictionaryReader reader, bool defattr)
System\IdentityModel\SecurityUtils.cs (1)
460internal static byte[] ReadContentAsBase64(XmlDictionaryReader reader, long maxBufferSize)
System\IdentityModel\Selectors\SecurityTokenSerializer.cs (6)
163public virtual bool CanReadKeyIdentifierClauseCore(XmlDictionaryReader reader) 168public abstract SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlDictionaryReader reader); 179public abstract bool CanReadClause(XmlDictionaryReader reader, string tokenType); 180public abstract SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType); 198public virtual bool CanReadKeyIdentifierCore(XmlDictionaryReader reader) 203public abstract SecurityKeyIdentifier ReadKeyIdentifierCore(XmlDictionaryReader reader);
System\IdentityModel\SignatureTargetIdManager.cs (1)
19public abstract string ExtractId(XmlDictionaryReader reader);
System\IdentityModel\SignedXml.cs (20)
170ReadFrom(XmlDictionaryReader.CreateDictionaryReader(reader)); 173public void ReadFrom(XmlDictionaryReader reader) 306public void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager) 372public void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager) 412XmlDictionaryReader GetReader(object callbackContext); 561XmlDictionaryReader signatureReader = this.readerProvider.GetReader(this.signatureReaderProviderCallbackContext); 594signatureReader = XmlDictionaryReader.CreateBinaryReader(buffer, 0, bufferLength, this.DictionaryManager.ParentDictionary, XmlDictionaryReaderQuotas.Max); 637protected void ReadCanonicalizationMethod(XmlDictionaryReader reader, DictionaryManager dictionaryManager) 643public abstract void ReadFrom(XmlDictionaryReader reader, TransformFactory transformFactory, DictionaryManager dictionaryManager); 645protected void ReadSignatureMethod(XmlDictionaryReader reader, DictionaryManager dictionaryManager) 747public override void ReadFrom(XmlDictionaryReader reader, TransformFactory transformFactory, DictionaryManager dictionaryManager) 897using (XmlDictionaryReader signedinfoReader = XmlDictionaryReader.CreateTextReader(_bufferedStream, XmlDictionaryReaderQuotas.Max)) 921public override void ReadFrom(XmlDictionaryReader reader, TransformFactory transformFactory, DictionaryManager dictionaryManager) 948using (XmlDictionaryReader effectiveReader = XmlDictionaryReader.CreateTextReader(_bufferedStream, XmlDictionaryReaderQuotas.Max)) 1228public void ReadFrom(XmlDictionaryReader reader, TransformFactory transformFactory, DictionaryManager dictionaryManager) 1297public void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager) 1376public void ReadFrom(XmlDictionaryReader reader, TransformFactory transformFactory, DictionaryManager dictionaryManager, bool preserveComments) 1449public void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager)
System\IdentityModel\StrTransform.cs (4)
133XmlDictionaryReader dictionaryReader = reader as XmlDictionaryReader; 148public override void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager, bool preserveComments) 232public void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager)
System\IdentityModel\Tokens\BootstrapContext.cs (2)
41using (XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(Convert.FromBase64String(info.GetString(_tokenKey)), XmlDictionaryReaderQuotas.Max))
System\IdentityModel\Tokens\EncryptedSecurityTokenHandler.cs (3)
138encryptedData.ReadXml(XmlDictionaryReader.CreateDictionaryReader(reader)); 212using (XmlReader innerTokenReader = XmlDictionaryReader.CreateTextReader(plainText, XmlDictionaryReaderQuotas.Max)) 240encryptedKey.ReadXml(XmlDictionaryReader.CreateDictionaryReader(reader));
System\IdentityModel\Tokens\KeyInfoSerializer.cs (10)
134XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader( reader ); 150XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 162XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 236XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 248XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (2)
91XmlDictionaryReader dicReader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (9)
726internal static XmlDictionaryReader CreatePlaintextReaderFromEncryptedData( 727XmlDictionaryReader reader, 829return XmlDictionaryReader.CreateTextReader(plainText, reader.Quotas); 1896using (XmlDictionaryReader dicReader = XmlDictionaryReader.CreateTextReader(Encoding.UTF8.GetBytes(attributeValue), XmlDictionaryReaderQuotas.Max)) 2608XmlDictionaryReader plaintextReader = XmlDictionaryReader.CreateDictionaryReader(reader); 4417keyInfo.ReadXml(XmlDictionaryReader.CreateDictionaryReader(reader)); 4702using (XmlDictionaryReader wrappedReader = new WrappedXmlDictionaryReader(XmlReader.Create(sr), XmlDictionaryReaderQuotas.Max))
System\IdentityModel\Tokens\SamlAction.cs (1)
83public virtual void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlAdvice.cs (1)
96public virtual void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlAssertion.cs (6)
292protected void ReadSignature(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver, SamlSerializer samlSerializer) 304XmlDictionaryReader effectiveReader = reader; 312effectiveReader = XmlDictionaryReader.CreateBinaryReader(stream.GetBuffer(), 0, (int)stream.Length, samlSerializer.DictionaryManager.ParentDictionary, reader.Quotas); 484public virtual void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver) 492XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\IdentityModel\Tokens\SamlAttribute.cs (1)
216public virtual void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlAttributeStatement.cs (1)
77public override void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlAudienceRestrictionCondition.cs (1)
69public override void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (1)
165public override void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlAuthorityBinding.cs (1)
110public virtual void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (1)
155public override void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlCondition.cs (1)
18public abstract void ReadXml(System.Xml.XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver);
System\IdentityModel\Tokens\SamlConditions.cs (1)
102public virtual void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlDoNotCacheCondition.cs (1)
28public override void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlEvidence.cs (1)
100public virtual void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (3)
1446using (XmlDictionaryReader xmlReader = XmlDictionaryReader.CreateTextReader(Encoding.UTF8.GetBytes(attributeValue), XmlDictionaryReaderQuotas.Max)) 3472keyInfo.ReadXml(XmlDictionaryReader.CreateDictionaryReader(reader));
System\IdentityModel\Tokens\SamlSerializer.cs (8)
54XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateDictionaryReader(reader); 76public virtual SamlAssertion LoadAssertion(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver) 87public virtual SamlCondition LoadCondition(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver) 108public virtual SamlConditions LoadConditions(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver) 119public virtual SamlAdvice LoadAdvice(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver) 130public virtual SamlStatement LoadStatement(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver) 157public virtual SamlAttribute LoadAttribute(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SamlStatement.cs (1)
21public abstract void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver);
System\IdentityModel\Tokens\SamlSubject.cs (3)
258public virtual void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver) 322XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\IdentityModel\Tokens\SecurityTokenSerializerAdapter.cs (1)
135keyInfo.ReadXml(XmlDictionaryReader.CreateDictionaryReader(reader));
System\IdentityModel\Tokens\SessionSecurityToken.cs (9)
351using (XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(cookie, 0, cookie.Length, dictionary, XmlDictionaryReaderQuotas.Max, null, null)) 791ClaimsPrincipal ReadPrincipal(XmlDictionaryReader dictionaryReader, SessionDictionary dictionary) 859void ReadIdentities(XmlDictionaryReader dictionaryReader, SessionDictionary dictionary, Collection<ClaimsIdentity> identities) 899ClaimsIdentity ReadIdentity(XmlDictionaryReader dictionaryReader, SessionDictionary dictionary) 1090void ReadClaims(XmlDictionaryReader dictionaryReader, SessionDictionary dictionary, Collection<Claim> claims) 1141void ReadClaimProperties(XmlDictionaryReader dictionaryReader, SessionDictionary dictionary, IDictionary<string, string> properties) 1634private SysClaim DeserializeSysClaim(XmlDictionaryReader reader) 1760static string ReadRightAttribute(XmlDictionaryReader reader, SessionDictionary dictionary)
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (3)
314using (XmlReader reader = XmlDictionaryReader.CreateTextReader(token, XmlDictionaryReaderQuotas.Max)) 365XmlDictionaryReader dicReader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\IdentityModel\Tokens\WSSecurityJan2004.cs (13)
220protected virtual string ReadTokenType(XmlDictionaryReader reader) 225public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlDictionaryReader reader) 321public override bool CanReadClause(XmlDictionaryReader reader, string tokenType) 338public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType) 502public override bool CanReadClause(XmlDictionaryReader reader, string tokenType) 515public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType) 566public override bool CanReadClause(XmlDictionaryReader reader, string tokenType) 590public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNone, int derivationLength, string tokenType) 713public override bool CanReadClause(XmlDictionaryReader reader, string tokenType) 732public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNone, int derivationLength, string tokenType) 769public override bool CanReadClause(XmlDictionaryReader reader, string tokenType) 778public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType) 836public override string ExtractId(XmlDictionaryReader reader)
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (4)
63protected override string ReadTokenType(XmlDictionaryReader reader) 158public override bool CanReadClause(XmlDictionaryReader reader, string tokenType) 202public override bool CanReadClause(XmlDictionaryReader reader, string tokenType) 221public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNone, int derivationLength, string tokenType)
System\IdentityModel\Tokens\WSTrust.cs (4)
100public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlDictionaryReader reader) 111public override bool CanReadKeyIdentifierClauseCore(XmlDictionaryReader reader) 145public override bool CanReadKeyIdentifierClauseCore(XmlDictionaryReader reader) 150public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlDictionaryReader reader)
System\IdentityModel\Tokens\X509DataSecurityKeyIdentifierClauseSerializer.cs (8)
71XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateDictionaryReader(reader); 182/// <param name="dictionaryReader">The <see cref="XmlDictionaryReader"/> currently positioning on the "X509IssuerSerial" element. </param> 184private static SecurityKeyIdentifierClause CreateIssuerSerialKeyIdentifierClause(XmlDictionaryReader dictionaryReader) 210/// <param name="dictionaryReader">The <see cref="XmlDictionaryReader"/> currently positioning on the "X509SKI" element. </param> 212private static SecurityKeyIdentifierClause CreateSubjectKeyIdentifierClause(XmlDictionaryReader dictionaryReader) 226/// <param name="dictionaryReader">The <see cref="XmlDictionaryReader"/> currently positioning on the "X509Certificate" element. </param> 228private static SecurityKeyIdentifierClause CreateRawDataKeyIdentifierClause(XmlDictionaryReader dictionaryReader)
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (2)
426XmlDictionaryReader dicReader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\IdentityModel\Tokens\XmlDsigSep2000.cs (4)
62public override SecurityKeyIdentifier ReadKeyIdentifierCore( XmlDictionaryReader reader ) 127public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore( XmlDictionaryReader reader ) 174public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore( XmlDictionaryReader reader ) 245public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore( XmlDictionaryReader reader )
System\IdentityModel\Tokens\XmlEncApr2001.cs (1)
51public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlDictionaryReader reader)
System\IdentityModel\Transform.cs (1)
29public abstract void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager, bool preserveComments);
System\IdentityModel\WrappedReader.cs (1)
21public WrappedReader(XmlDictionaryReader reader)
System\IdentityModel\XmlAttributeHolder.cs (2)
59public static XmlAttributeHolder[] ReadAttributes(XmlDictionaryReader reader) 65public static XmlAttributeHolder[] ReadAttributes(XmlDictionaryReader reader, ref int maxSizeOfHeaders)
System\IdentityModel\XmlBuffer.cs (4)
127public XmlDictionaryReader GetReader(int sectionIndex) 132XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(buffer, section.Offset, section.Size, XD.Dictionary, section.Quotas, null, null); 141XmlDictionaryReader reader = GetReader(sectionIndex);
System\IdentityModel\XmlHelper.cs (4)
47internal static string ReadEmptyElementAndRequiredAttribute(XmlDictionaryReader reader, 95internal static System.Xml.UniqueId GetAttributeAsUniqueId(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 100static System.Xml.UniqueId GetAttributeAsUniqueId(XmlDictionaryReader reader, string name, string ns) 120static public Int64 ReadElementContentAsInt64(XmlDictionaryReader reader)
System\IdentityModel\XmlUtil.cs (1)
242public static Int64 ReadElementContentAsInt64(XmlDictionaryReader reader)
System\ServiceModel\Security\EncryptedKey.cs (4)
74protected override void ReadAdditionalAttributes(XmlDictionaryReader reader) 79protected override void ReadAdditionalElements(XmlDictionaryReader reader) 94protected override void ReadCipherData(XmlDictionaryReader reader) 99protected override void ReadCipherData(XmlDictionaryReader reader, long maxBufferSize)
System\ServiceModel\Security\EncryptedType.cs (12)
194protected virtual void ReadAdditionalAttributes(XmlDictionaryReader reader) 198protected virtual void ReadAdditionalElements(XmlDictionaryReader reader) 202protected abstract void ReadCipherData(XmlDictionaryReader reader); 203protected abstract void ReadCipherData(XmlDictionaryReader reader, long maxBufferSize); 210public void ReadFrom(XmlDictionaryReader reader) 217ReadFrom(XmlDictionaryReader.CreateDictionaryReader(reader), maxBufferSize); 220public void ReadFrom(XmlDictionaryReader reader, long maxBufferSize) 240XmlDictionaryReader localReader; 247localReader = XmlDictionaryReader.CreateDictionaryReader(new XmlNodeReader(xml)); 269this.keyIdentifier = ReadGenericXmlSecurityKeyIdentifier( XmlDictionaryReader.CreateDictionaryReader( new XmlNodeReader(xml)), e); 287private SecurityKeyIdentifier ReadGenericXmlSecurityKeyIdentifier(XmlDictionaryReader localReader, Exception previousException) 411public void ReadFrom(XmlDictionaryReader reader)
System\ServiceModel\Security\ReferenceList.cs (2)
70public void ReadFrom(XmlDictionaryReader reader) 118public static string ReadFrom(XmlDictionaryReader reader)
System.IdentityModel.Selectors (2)
infocard\client\System\IdentityModel\Selectors\CardSpaceSelector.cs (2)
365private static XmlDictionaryReader CreateReaderWithQuotas(string root) 369return XmlDictionaryReader.CreateTextReader(
System.Runtime.Serialization (141)
System\Runtime\Serialization\DataContractSerializer.cs (3)
334public override object ReadObject(XmlDictionaryReader reader, bool verifyObjectName) 339public override bool IsStartObject(XmlDictionaryReader reader) 344public object ReadObject(XmlDictionaryReader reader, bool verifyObjectName, DataContractResolver dataContractResolver)
System\Runtime\Serialization\Json\ByteArrayHelperWithString.cs (1)
29protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, byte[] array, int offset, int count)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (3)
232public override bool IsStartObject(XmlDictionaryReader reader) 254public override object ReadObject(XmlDictionaryReader reader) 259public override object ReadObject(XmlDictionaryReader reader, bool verifyObjectName)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (3)
116XmlDictionaryReader tempDictionaryReader = XmlDictionaryReader.CreateDictionaryReader(reader); 286protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, DateTime[] array, int offset, int count)
System\Runtime\Serialization\Json\JsonReaderWriterFactory.cs (5)
21public static XmlDictionaryReader CreateJsonReader(Stream stream, XmlDictionaryReaderQuotas quotas) 26public static XmlDictionaryReader CreateJsonReader(byte[] buffer, XmlDictionaryReaderQuotas quotas) 36public static XmlDictionaryReader CreateJsonReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) 43public static XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas) 48public static XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose)
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
35xmlValue = dataContractSerializer.ReadObject(XmlDictionaryReader.CreateTextReader(memoryStream, quotas));
System\Runtime\Serialization\NetDataContractSerializer.cs (2)
409public override object ReadObject(XmlDictionaryReader reader, bool verifyObjectName) 414public override bool IsStartObject(XmlDictionaryReader reader)
System\Runtime\Serialization\XmlObjectSerializer.cs (7)
246return ReadObject(XmlDictionaryReader.CreateTextReader(stream, XmlDictionaryReaderQuotas.Max)); 252return ReadObject(XmlDictionaryReader.CreateDictionaryReader(reader)); 255public virtual object ReadObject(XmlDictionaryReader reader) 263return ReadObject(XmlDictionaryReader.CreateDictionaryReader(reader), verifyObjectName); 266public abstract object ReadObject(XmlDictionaryReader reader, bool verifyObjectName); 271return IsStartObject(XmlDictionaryReader.CreateDictionaryReader(reader)); 274public abstract bool IsStartObject(XmlDictionaryReader reader);
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
23protected XmlDictionaryReader dictionaryReader; 30this.dictionaryReader = reader as XmlDictionaryReader;
System\Xml\ArrayHelper.cs (25)
10public TArray[] ReadArray(XmlDictionaryReader reader, TArgument localName, TArgument namespaceUri, int maxArrayLength) 22if (count > XmlDictionaryReader.MaxInitialArrayLength) 23count = 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, Int16[] array, int offset, int count) 150protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int16[] array, int offset, int count) 165protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, Int32[] array, int offset, int count) 180protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int32[] array, int offset, int count) 195protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, Int64[] array, int offset, int count) 210protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int64[] 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)
1420return ReadContentAsBase64(quotas.MaxArrayLength, XmlDictionaryReader.MaxInitialArrayLength); // Initial count will get ignored 3252XmlDictionaryReader reader; 3257public QuotaNameTable(XmlDictionaryReader reader, int maxCharCount)
System\Xml\XmlBinaryWriter.cs (1)
1143protected override void WriteTextNode(XmlDictionaryReader reader, bool attribute)
System\Xml\XmlBufferReader.cs (2)
17XmlDictionaryReader reader; 35public XmlBufferReader(XmlDictionaryReader reader)
System\Xml\XmlDictionaryReader.cs (26)
17public delegate void OnXmlDictionaryReaderClose(XmlDictionaryReader reader); 23static public XmlDictionaryReader CreateDictionaryReader(XmlReader reader) 28XmlDictionaryReader dictionaryReader = reader as XmlDictionaryReader; 38public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, XmlDictionaryReaderQuotas quotas) 45public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas) 50public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas) 55public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session) 60public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, 71public static XmlDictionaryReader CreateBinaryReader(Stream stream, XmlDictionaryReaderQuotas quotas) 76public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas) 81public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session) 86public static XmlDictionaryReader CreateBinaryReader(Stream stream, 97static public XmlDictionaryReader CreateTextReader(byte[] buffer, XmlDictionaryReaderQuotas quotas) 104static public XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas) 109static public XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count, 119static public XmlDictionaryReader CreateTextReader(Stream stream, XmlDictionaryReaderQuotas quotas) 124static public XmlDictionaryReader CreateTextReader(Stream stream, Encoding encoding, 133static public XmlDictionaryReader CreateMtomReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas) 141static public XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, XmlDictionaryReaderQuotas quotas) 146static public XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas) 151static public XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, string contentType, 159static public XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas) 167static public XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, XmlDictionaryReaderQuotas quotas) 172static public XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas) 177static public XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType,
System\Xml\XmlDictionaryWriter.cs (8)
745void WriteElementNode(XmlDictionaryReader reader, bool defattr) 794void WriteArrayNode(XmlDictionaryReader reader, string prefix, string localName, string namespaceUri, Type type) 823void WriteArrayNode(XmlDictionaryReader reader, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Type type) 852void WriteArrayNode(XmlDictionaryReader reader, Type type) 862protected virtual void WriteTextNode(XmlDictionaryReader reader, bool isAttribute) 881XmlDictionaryReader dictionaryReader = reader as XmlDictionaryReader; 888public virtual void WriteNode(XmlDictionaryReader reader, bool defattr)
System\Xml\XmlExceptionHelper.cs (42)
13static void ThrowXmlException(XmlDictionaryReader reader, string res) 18static void ThrowXmlException(XmlDictionaryReader reader, string res, string arg1) 23static void ThrowXmlException(XmlDictionaryReader reader, string res, string arg1, string arg2) 28static void ThrowXmlException(XmlDictionaryReader reader, string res, string arg1, string arg2, string arg3) 45static public void ThrowXmlException(XmlDictionaryReader reader, XmlException exception) 64static string GetWhatWasFound(XmlDictionaryReader reader) 86static public void ThrowStartElementExpected(XmlDictionaryReader reader) 91static public void ThrowStartElementExpected(XmlDictionaryReader reader, string name) 96static public void ThrowStartElementExpected(XmlDictionaryReader reader, string localName, string ns) 101static public void ThrowStartElementExpected(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 106static public void ThrowFullStartElementExpected(XmlDictionaryReader reader) 111static public void ThrowFullStartElementExpected(XmlDictionaryReader reader, string name) 116static public void ThrowFullStartElementExpected(XmlDictionaryReader reader, string localName, string ns) 121static public void ThrowFullStartElementExpected(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 126static public void ThrowEndElementExpected(XmlDictionaryReader reader, string localName, string ns) 131static public void ThrowMaxStringContentLengthExceeded(XmlDictionaryReader reader, int maxStringContentLength) 136static public void ThrowMaxArrayLengthExceeded(XmlDictionaryReader reader, int maxArrayLength) 141static public void ThrowMaxArrayLengthOrMaxItemsQuotaExceeded(XmlDictionaryReader reader, int maxQuota) 146static public void ThrowMaxDepthExceeded(XmlDictionaryReader reader, int maxDepth) 151static public void ThrowMaxBytesPerReadExceeded(XmlDictionaryReader reader, int maxBytesPerRead) 156static public void ThrowMaxNameTableCharCountExceeded(XmlDictionaryReader reader, int maxNameTableCharCount) 161static public void ThrowBase64DataExpected(XmlDictionaryReader reader) 166static public void ThrowUndefinedPrefix(XmlDictionaryReader reader, string prefix) 171static public void ThrowProcessingInstructionNotSupported(XmlDictionaryReader reader) 176static public void ThrowInvalidXml(XmlDictionaryReader reader, byte b) 181static public void ThrowUnexpectedEndOfFile(XmlDictionaryReader reader) 186static public void ThrowUnexpectedEndElement(XmlDictionaryReader reader) 191static public void ThrowTokenExpected(XmlDictionaryReader reader, string expected, char found) 196static public void ThrowTokenExpected(XmlDictionaryReader reader, string expected, string found) 201static public void ThrowInvalidCharRef(XmlDictionaryReader reader) 206static public void ThrowTagMismatch(XmlDictionaryReader reader, string expectedPrefix, string expectedLocalName, string foundPrefix, string foundLocalName) 211static public void ThrowDuplicateXmlnsAttribute(XmlDictionaryReader reader, string localName, string ns) 221static public void ThrowDuplicateAttribute(XmlDictionaryReader reader, string prefix1, string prefix2, string localName, string ns) 226static public void ThrowInvalidBinaryFormat(XmlDictionaryReader reader) 231static public void ThrowInvalidRootData(XmlDictionaryReader reader) 236static public void ThrowMultipleRootElements(XmlDictionaryReader reader) 241static public void ThrowDeclarationNotFirst(XmlDictionaryReader reader) 246static public void ThrowConversionOverflow(XmlDictionaryReader reader, string value, string type) 251static public void ThrowXmlDictionaryStringIDOutOfRange(XmlDictionaryReader reader) 256static public void ThrowXmlDictionaryStringIDUndefinedStatic(XmlDictionaryReader reader, int key) 261static public void ThrowXmlDictionaryStringIDUndefinedSession(XmlDictionaryReader reader, int key) 266static public void ThrowEmptyNamespace(XmlDictionaryReader reader)
System\Xml\XmlMtomReader.cs (5)
26XmlDictionaryReader xmlReader; 27XmlDictionaryReader infosetReader; 128xmlReader = XmlDictionaryReader.CreateTextReader(infosetBytes, 0, infosetByteCount, encoding, quotas, null); 1080XmlDictionaryReader parentReader; 1090public XopIncludeReader(MimePart part, XmlDictionaryReader reader)
System\Xml\XmlMtomWriter.cs (2)
480XmlReader contentTypeReader = XmlDictionaryReader.CreateBinaryReader(contentTypeStream, null, XmlDictionaryReaderQuotas.Max, null, null); 615protected override void WriteTextNode(XmlDictionaryReader reader, bool attribute)
System.ServiceModel (538)
System\ServiceModel\Channels\AddressHeader.cs (8)
114using (XmlDictionaryReader reader = GetAddressHeaderReader()) 123public virtual XmlDictionaryReader GetAddressHeaderReader() 133XmlDictionaryReader GetComparableReader() 323public BufferedAddressHeader(XmlDictionaryReader reader) 338public BufferedAddressHeader(XmlDictionaryReader reader, bool isReferenceProperty) 356public override XmlDictionaryReader GetAddressHeaderReader() 363XmlDictionaryReader reader = GetAddressHeaderReader(); 371XmlDictionaryReader reader = GetAddressHeaderReader();
System\ServiceModel\Channels\AddressHeaderCollection.cs (2)
171internal static AddressHeaderCollection ReadServiceParameters(XmlDictionaryReader reader) 176internal static AddressHeaderCollection ReadServiceParameters(XmlDictionaryReader reader, bool isReferenceProperty)
System\ServiceModel\Channels\Addressing.cs (15)
90public static string ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion) 101public static ActionHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 203public static FromHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 218public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion) 295public static FaultToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 310public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 438public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 443public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache) 462public static ToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache, 609public static ReplyToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 631public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 708public static UniqueId ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 714public static MessageIDHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 824public static void ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, out Uri relationshipType, out UniqueId messageId) 845public static RelatesToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
System\ServiceModel\Channels\BinaryMessageEncoder.cs (23)
28volatile SynchronizedPool<XmlDictionaryReader> streamedReaderPool; 210XmlDictionaryReader TakeStreamedReader(Stream stream) 219streamedReaderPool = new SynchronizedPool<XmlDictionaryReader>(maxReadPoolSize); 224XmlDictionaryReader xmlReader = streamedReaderPool.Take(); 227xmlReader = XmlDictionaryReader.CreateBinaryReader(stream, 249void ReturnStreamedReader(XmlDictionaryReader xmlReader) 290Pool<XmlDictionaryReader> readerPool; 297readerPool = new Pool<XmlDictionaryReader>(maxPoolSize); 316protected override XmlDictionaryReader TakeXmlReader() 319XmlDictionaryReader xmlReader = readerPool.Take(); 331xmlReader = XmlDictionaryReader.CreateBinaryReader(buffer.Array, buffer.Offset, buffer.Count, 345protected override void ReturnXmlReader(XmlDictionaryReader reader) 706XmlDictionaryReader reader = factory.TakeStreamedReader(stream); 805XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateBinaryReader(messageData.Array, messageData.Offset, messageData.Count, XD.Dictionary, XmlDictionaryReaderQuotas.Max, this.readerSessionForLogging, null); 1595XmlDictionaryReader reader; 1619XmlDictionaryReader reader = messageData.GetMessageReader(); 1657XmlDictionaryReader reader = messageData.GetMessageReader(); 1721XmlDictionaryReader GetBufferedReaderAtBody() 1723XmlDictionaryReader reader = messageData.GetMessageReader(); 1731using (XmlDictionaryReader reader = GetBufferedReaderAtBody()) 1826protected override XmlDictionaryReader OnGetReaderAtBodyContents() 1828XmlDictionaryReader reader = this.reader;
System\ServiceModel\Channels\BodyWriter.cs (1)
141XmlDictionaryReader reader = this.buffer.GetReader(0);
System\ServiceModel\Channels\BufferedMessageData.cs (7)
92void DoReturnXmlReader(XmlDictionaryReader reader) 112XmlDictionaryReader DoTakeXmlReader() 114XmlDictionaryReader reader = TakeXmlReader(); 119public XmlDictionaryReader GetMessageReader() 134public void OnXmlReaderClosed(XmlDictionaryReader reader) 168protected abstract XmlDictionaryReader TakeXmlReader(); 186protected 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)
37XmlDictionaryReader reader)
System\ServiceModel\Channels\CreateSequenceResponse.cs (1)
80ReliableMessagingVersion reliableMessagingVersion, XmlDictionaryReader reader)
System\ServiceModel\Channels\Message.cs (47)
171return CreateMessage(version, action, XmlDictionaryReader.CreateDictionaryReader(body)); 174static public Message CreateMessage(MessageVersion version, string action, XmlDictionaryReader body) 218return CreateMessage(XmlDictionaryReader.CreateDictionaryReader(envelopeReader), maxSizeOfHeaders, version); 221static public Message CreateMessage(XmlDictionaryReader envelopeReader, int maxSizeOfHeaders, MessageVersion version) 276XmlDictionaryReader reader = GetReaderAtBodyContents(); // This call will change the message state to Read. 280protected virtual T OnGetBody<T>(XmlDictionaryReader reader) 292T GetBodyCore<T>(XmlDictionaryReader reader, XmlObjectSerializer serializer) 303internal virtual XmlDictionaryReader GetReaderAtHeader() 315XmlDictionaryReader reader = buffer.GetReader(0); 321public XmlDictionaryReader GetReaderAtBodyContents() 378static internal bool IsFaultStartElement(XmlDictionaryReader reader, EnvelopeVersion version) 407protected virtual XmlDictionaryReader OnGetReaderAtBodyContents() 424XmlDictionaryReader reader = bodyBuffer.GetReader(0); 582internal void ReadFromBodyContentsToEnd(XmlDictionaryReader reader) 587static void ReadFromBodyContentsToEnd(XmlDictionaryReader reader, EnvelopeVersion envelopeVersion) 597internal static bool ReadStartBody(XmlDictionaryReader reader, EnvelopeVersion envelopeVersion, out bool isFault, out bool isEmpty) 924XmlDictionaryReader reader; 927public XmlReaderBodyWriter(XmlDictionaryReader reader, EnvelopeVersion version) 1231protected static bool HasHeaderElement(XmlDictionaryReader reader, EnvelopeVersion envelopeVersion) 1240using (XmlDictionaryReader bodyReader = OnGetReaderAtBodyContents()) 1255protected bool ReadStartBody(XmlDictionaryReader reader) 1260protected static EnvelopeVersion ReadStartEnvelope(XmlDictionaryReader reader) 1276protected static void VerifyStartBody(XmlDictionaryReader reader, EnvelopeVersion version) 1293XmlDictionaryReader reader; 1296public StreamedMessage(XmlDictionaryReader reader, int maxSizeOfHeaders, MessageVersion desiredVersion) 1428protected override XmlDictionaryReader OnGetReaderAtBodyContents() 1430XmlDictionaryReader reader = this.reader; 1475XmlDictionaryReader GetMessageReader(); 1487XmlDictionaryReader reader; 1505XmlDictionaryReader reader = messageData.GetMessageReader(); 1610protected override XmlDictionaryReader OnGetReaderAtBodyContents() 1612XmlDictionaryReader reader = this.reader; 1617internal override XmlDictionaryReader GetReaderAtHeader() 1621XmlDictionaryReader reader = messageData.GetMessageReader(); 1630public XmlDictionaryReader GetBufferedReaderAtBody() 1632XmlDictionaryReader reader = messageData.GetMessageReader(); 1646public XmlDictionaryReader GetMessageReader() 1653using (XmlDictionaryReader reader = GetBufferedReaderAtBody()) 1735using (XmlDictionaryReader reader = GetMessageReader()) 1746using (XmlDictionaryReader reader = GetMessageReader()) 1765using (XmlDictionaryReader reader = GetBufferedReaderAtBody()) 1802using (XmlDictionaryReader reader = GetBufferedReaderAtBody()) 1859public static XmlAttributeHolder[] ReadAttributes(XmlDictionaryReader reader) 1865public static XmlAttributeHolder[] ReadAttributes(XmlDictionaryReader reader, ref int maxSizeOfHeaders) 1984public MessageHeaderInfo TakeHeaderInfo(XmlDictionaryReader reader, string actor, bool mustUnderstand, bool relay, bool isRefParam) 2048public HeaderInfo(XmlDictionaryReader reader, string actor, bool mustUnderstand, bool relay, bool isReferenceParameter) 2087public bool Matches(XmlDictionaryReader reader, string actor, bool mustUnderstand, bool relay, bool isRefParam)
System\ServiceModel\Channels\MessageFault.cs (15)
67XmlDictionaryReader reader = message.GetReaderAtBodyContents(); 175XmlDictionaryReader reader = GetReaderAtDetailContents(); 186public XmlDictionaryReader GetReaderAtDetailContents() 212protected virtual XmlDictionaryReader OnGetReaderAtDetailContents() 219XmlDictionaryReader reader = detailBuffer.GetReader(0); 237using (XmlDictionaryReader reader = headers.GetReaderAtHeader(i)) 548XmlDictionaryReader reader = detail.GetReader(0); 612protected override XmlDictionaryReader OnGetReaderAtDetailContents() 614XmlDictionaryReader reader = detail.GetReader(0); 634public static ReceivedFault CreateFaultNone(XmlDictionaryReader reader, int maxBufferSize) 639static ReceivedFault CreateFault12Driver(XmlDictionaryReader reader, int maxBufferSize, EnvelopeVersion version) 678static FaultCode ReadFaultCode12Driver(XmlDictionaryReader reader, EnvelopeVersion version) 696public static ReceivedFault CreateFault12(XmlDictionaryReader reader, int maxBufferSize) 701static FaultReasonText ReadTranslation12(XmlDictionaryReader reader) 708public static ReceivedFault CreateFault11(XmlDictionaryReader reader, int maxBufferSize)
System\ServiceModel\Channels\MessageHeader.cs (7)
187internal static void GetHeaderAttributes(XmlDictionaryReader reader, MessageVersion version, 441public abstract XmlDictionaryReader GetHeaderReader(); 447XmlDictionaryReader reader = GetHeaderReader(); 455XmlDictionaryReader reader = GetHeaderReader(); 509public BufferedHeader(MessageVersion version, XmlBuffer buffer, XmlDictionaryReader reader, XmlAttributeHolder[] envelopeAttributes, XmlAttributeHolder[] headerAttributes) 577public override XmlDictionaryReader GetHeaderReader() 579XmlDictionaryReader reader = buffer.GetReader(bufferIndex);
System\ServiceModel\Channels\MessageHeaders.cs (22)
48internal MessageHeaders(MessageVersion version, XmlDictionaryReader reader, XmlAttributeHolder[] envelopeAttributes, XmlAttributeHolder[] headerAttributes, ref int maxSizeOfHeaders) 94internal MessageHeaders(MessageVersion version, XmlDictionaryReader reader, IBufferedMessageData bufferedMessageData, RecycledMessageState recycledMessageState, bool[] understoodHeaders, bool understoodHeadersModified) 130using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 174using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 198using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 237using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 278using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 302using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 413using (XmlDictionaryReader reader = GetBufferedMessageHeaderReaderAtHeaderContents(bufferedMessageData)) 438BufferedHeader CaptureBufferedHeader(XmlDictionaryReader reader, MessageHeaderInfo headerInfo) 771static XmlDictionaryReader GetBufferedMessageHeaderReaderAtHeaderContents(IBufferedMessageData bufferedMessageData) 773XmlDictionaryReader reader = bufferedMessageData.GetMessageReader(); 785XmlDictionaryReader GetBufferedMessageHeaderReader(IBufferedMessageData bufferedMessageData, int bufferedMessageHeaderIndex) 794XmlDictionaryReader reader = GetBufferedMessageHeaderReaderAtHeaderContents(bufferedMessageData); 808void Skip(XmlDictionaryReader reader) 875using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 962public XmlDictionaryReader GetReaderAtHeader(int headerIndex) 1008using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 1021XmlDictionaryReader reader = bufferedMessageData.GetMessageReader(); 1045using (XmlDictionaryReader reader = GetReaderAtHeader(index)) 1167internal void Init(MessageVersion version, XmlDictionaryReader reader, IBufferedMessageData bufferedMessageData, RecycledMessageState recycledMessageState, bool[] understoodHeaders, bool understoodHeadersModified) 1301void ReadBufferedHeader(XmlDictionaryReader reader, RecycledMessageState recycledMessageState, XmlDictionaryString[] localNames, bool understood)
System\ServiceModel\Channels\MtomMessageEncoder.cs (15)
78volatile SynchronizedPool<XmlDictionaryReader> streamedReaderPool; 356XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateMtomReader(messageData.Array, messageData.Offset, messageData.Count, MtomMessageEncoderFactory.GetSupportedEncodings(), contentType, XmlDictionaryReaderQuotas.Max, int.MaxValue, null); 527streamedReaderPool = new SynchronizedPool<XmlDictionaryReader>(maxReadPoolSize); 531XmlDictionaryReader xmlReader = streamedReaderPool.Take(); 542xmlReader = XmlDictionaryReader.CreateMtomReader(stream, MtomMessageEncoderFactory.GetSupportedEncodings(), contentType, this.readerQuotas, this.maxBufferSize, onStreamedReaderClose); 557xmlReader = XmlDictionaryReader.CreateTextReader(stream, TextMessageEncoderFactory.GetEncodingFromContentType(contentType, this.contentEncodingMap), this.readerQuotas, onStreamedReaderClose); 579void ReturnStreamedReader(XmlDictionaryReader xmlReader) 610Pool<XmlDictionaryReader> readerPool; 618readerPool = new Pool<XmlDictionaryReader>(maxReaderPoolSize); 637protected override XmlDictionaryReader TakeXmlReader() 643XmlDictionaryReader xmlReader = readerPool.Take(); 652xmlReader = XmlDictionaryReader.CreateMtomReader(buffer.Array, buffer.Offset, buffer.Count, MtomMessageEncoderFactory.GetSupportedEncodings(), ContentType, this.Quotas, this.messageEncoder.MaxBufferSize, onClose); 667xmlReader = XmlDictionaryReader.CreateTextReader(buffer.Array, buffer.Offset, buffer.Count, TextMessageEncoderFactory.GetEncodingFromContentType(ContentType, this.messageEncoder.contentEncodingMap), this.Quotas, onClose); 688protected override void ReturnXmlReader(XmlDictionaryReader xmlReader)
System\ServiceModel\Channels\PeerHelpers.cs (3)
323using (XmlDictionaryReader reader = headers.GetReaderAtHeader(index)) 346using (XmlDictionaryReader reader = headers.GetReaderAtHeader(index)) 361using (XmlDictionaryReader reader = headers.GetReaderAtHeader(index))
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (4)
3406public static void ReadEmptyElement(XmlDictionaryReader reader) 3419public static UniqueId ReadIdentifier(XmlDictionaryReader reader, 3428public static Int64 ReadSequenceNumber(XmlDictionaryReader reader) 3433public static Int64 ReadSequenceNumber(XmlDictionaryReader reader, bool allowZero)
System\ServiceModel\Channels\TerminateSequence.cs (1)
31XmlDictionaryReader reader)
System\ServiceModel\Channels\TerminateSequenceResponse.cs (1)
38public static TerminateSequenceResponseInfo Create(XmlDictionaryReader reader)
System\ServiceModel\Channels\TextMessageEncoder.cs (13)
252volatile SynchronizedPool<XmlDictionaryReader> streamedReaderPool; 503XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateTextReader(messageData.Array, messageData.Offset, messageData.Count, null, XmlDictionaryReaderQuotas.Max, null); 709streamedReaderPool = new SynchronizedPool<XmlDictionaryReader>(maxReadPoolSize); 713XmlDictionaryReader xmlReader = streamedReaderPool.Take(); 716xmlReader = XmlDictionaryReader.CreateTextReader(stream, enc, this.readerQuotas, null); 729void ReturnStreamedReader(XmlDictionaryReader xmlReader) 798Pool<XmlDictionaryReader> readerPool; 808readerPool = new Pool<XmlDictionaryReader>(maxReaderPoolSize); 835protected override XmlDictionaryReader TakeXmlReader() 839XmlDictionaryReader xmlReader = readerPool.Take(); 842xmlReader = XmlDictionaryReader.CreateTextReader(buffer.Array, buffer.Offset, buffer.Count, this.encoding, this.Quotas, onClose); 856protected 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) 390static UniqueId ParseDetail(XmlDictionaryReader reader, ReliableMessagingVersion reliableMessagingVersion) 432XmlDictionaryReader detailReader = WsrmSequenceFaultHeader.GetReaderAtDetailContents(detailName, 472XmlDictionaryReader detailReader = fault.GetReaderAtDetailContents(); 492XmlDictionaryReader detailReader, ReliableMessagingVersion reliableMessagingVersion) 532XmlDictionaryReader detailReader, ReliableMessagingVersion reliableMessagingVersion) 547public MessageNumberRolloverFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader, 602public SequenceClosedFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader, 616public SequenceTerminatedFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader, 653public UnknownSequenceFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader, 711public static XmlDictionaryReader GetReaderAtDetailContents(string detailName, string detailNamespace, 712XmlDictionaryReader headerReader, ReliableMessagingVersion reliableMessagingVersion) 724public static XmlDictionaryReader GetReaderAtDetailContents11(string detailName, string detailNamespace, 725XmlDictionaryReader headerReader) 743public static XmlDictionaryReader GetReaderAtDetailContentsFeb2005(string detailName, string detailNamespace, 744XmlDictionaryReader headerReader) 797XmlDictionaryReader detailReader = buffer.GetReader(index); 806public static string GetSubcode(XmlDictionaryReader headerReader,
System\ServiceModel\Channels\WsrmMessageInfo.cs (18)
422using (XmlDictionaryReader reader = headers.GetReaderAtHeader(minIndex)) 485using (XmlDictionaryReader reader = headers.GetReaderAtHeader(usesSequenceSSLIndex)) 496using (XmlDictionaryReader reader = headers.GetReaderAtHeader(usesSequenceSTRIndex)) 509using (XmlDictionaryReader reader = headers.GetReaderAtHeader(sequenceIndex)) 521using (XmlDictionaryReader reader = headers.GetReaderAtHeader(ackIndex)) 532using (XmlDictionaryReader reader = headers.GetReaderAtHeader(ackRequestedIndex)) 755using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 816using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 912using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 1023using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 1082using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 1146using (XmlDictionaryReader reader = message.GetReaderAtBodyContents()) 1317XmlDictionaryReader reader, MessageHeaderInfo header) 1460XmlDictionaryReader reader, out UniqueId sequenceId, out SequenceRangeCollection rangeCollection, 1556XmlDictionaryReader reader, MessageHeaderInfo header) 1736XmlDictionaryReader reader, MessageHeaderInfo header) 1802public static WsrmUsesSequenceSSLInfo ReadHeader(XmlDictionaryReader reader, MessageHeaderInfo header) 1838public static WsrmUsesSequenceSTRInfo ReadHeader(XmlDictionaryReader reader, MessageHeaderInfo header)
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (4)
47XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(ms, null, quota, null); 838XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(wsdlText, 0, wsdlText.GetLength(0), null, quota, null);
System\ServiceModel\Configuration\AddressHeaderCollectionElement.cs (1)
67this.Headers = AddressHeaderCollection.ReadServiceParameters(XmlDictionaryReader.CreateDictionaryReader(reader));
System\ServiceModel\Description\MetadataExchangeClient.cs (1)
806XmlReader reader = XmlDictionaryReader.CreateTextReader(
System\ServiceModel\Description\MetadataReference.cs (1)
54this.address = EndpointAddress.ReadFrom(XmlDictionaryReader.CreateDictionaryReader(reader), out this.addressVersion);
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (2)
47using (XmlDictionaryReader reader = message.Headers.GetReaderAtHeader(index)) 89using (XmlDictionaryReader reader = message.Headers.GetReaderAtHeader(index))
System\ServiceModel\Dispatcher\ClientRuntime.cs (1)
480using (XmlDictionaryReader reader = copy.GetReaderAtBodyContents())
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (9)
292XmlDictionaryReader headerReader = headers.GetReaderAtHeader(i); 322XmlDictionaryReader headerReader = headers.GetReaderAtHeader(i); 349object DeserializeHeaderContents(XmlDictionaryReader reader, MessageDescription messageDescription, MessageHeaderDescription headerDescription) 362protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest) 404void DeserializeParameters(XmlDictionaryReader reader, PartInfo[] parts, object[] parameters, bool isRequest) 427object DeserializeParameter(XmlDictionaryReader reader, PartInfo part, bool isRequest) 439object DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, bool isRequest) 583public object ReadObject(XmlDictionaryReader reader) 588public object ReadObject(XmlDictionaryReader reader, XmlObjectSerializer serializer)
System\ServiceModel\Dispatcher\FaultFormatter.cs (2)
119XmlDictionaryReader detailReader = messageFault.GetReaderAtDetailContents(); 141object detailObj, Type detailType, XmlDictionaryReader detailReader)
System\ServiceModel\Dispatcher\OperationFormatter.cs (4)
55protected abstract object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest); 247XmlDictionaryReader reader = message.GetReaderAtBodyContents(); 866XmlDictionaryReader nodeReader = XmlDictionaryReader.CreateDictionaryReader(new XmlNodeReader(headerValue));
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (9)
426XmlDictionaryReader bodyReader = message.GetReaderAtBodyContents(); 466XmlDictionaryReader bodyReader = message.GetReaderAtBodyContents(); 495void DeserializeRequest(XmlDictionaryReader reader, object[] parameters) 517object DeserializeResponse(XmlDictionaryReader reader, object[] parameters) 559void DeserializeParameters(XmlDictionaryReader reader, PartInfo[] parts, object[] parameters) 585private bool IsPartElements(XmlDictionaryReader reader, PartInfo[] parts) 593bool IsPartElement(XmlDictionaryReader reader, PartInfo part) 598object DeserializeParameter(XmlDictionaryReader reader, PartInfo part) 708public object ReadValue(XmlDictionaryReader reader)
System\ServiceModel\Dispatcher\StreamFormatter.cs (2)
220XmlDictionaryReader reader; 297static void Exhaust(XmlDictionaryReader reader)
System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (1)
94XmlDictionaryReader detailReader = messageFault.GetReaderAtDetailContents();
System\ServiceModel\Dispatcher\XmlSerializerObjectSerializer.cs (2)
95public override object ReadObject(XmlDictionaryReader reader, bool verifyObjectName) 109public override bool IsStartObject(XmlDictionaryReader reader)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (6)
184XmlDictionaryReader headerReader = headers.GetReaderAtHeader(headerIndex); 216XmlDictionaryReader bufferReader = XmlDictionaryReader.CreateTextReader(memoryStream.GetBuffer(), 0, (int)memoryStream.Length, XmlDictionaryReaderQuotas.Max); 249private static void AddUnknownHeader(MessageHeaderDescription unknownHeaderDescription, ArrayList unknownHeaders, XmlDocument xmlDoc, XmlDictionaryWriter bufferWriter, MessageHeaderInfo header, XmlDictionaryReader headerReader) 337protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest) 368object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, object[] parameters, bool isRequest)
System\ServiceModel\EndpointAddress.cs (36)
134internal EndpointAddress(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlDictionaryReader metadataReader, XmlDictionaryReader extensionReader, XmlDictionaryReader pspReader) 164public EndpointAddress(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlDictionaryReader metadataReader, XmlDictionaryReader extensionReader) 490internal XmlDictionaryReader GetReaderAtPsp() 496public XmlDictionaryReader GetReaderAtMetadata() 502public XmlDictionaryReader GetReaderAtExtensions() 507static XmlDictionaryReader GetReaderAtSection(XmlBuffer buffer, int section) 512XmlDictionaryReader reader = buffer.GetReader(section); 519void PossiblyPopulateBuffer(XmlDictionaryReader reader, ref XmlBuffer buffer, out int section) 539public static EndpointAddress ReadFrom(XmlDictionaryReader reader) 545internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, out AddressingVersion version) 577public static EndpointAddress ReadFrom(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 583internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns, out AddressingVersion version) 617return ReadFrom(addressingVersion, XmlDictionaryReader.CreateDictionaryReader(reader)); 627XmlDictionaryReader dictReader = XmlDictionaryReader.CreateDictionaryReader(reader); 634public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader) 647public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 660static EndpointAddress ReadFromDriver(AddressingVersion addressingVersion, XmlDictionaryReader reader) 695internal static XmlBuffer ReadExtensions(XmlDictionaryReader reader, AddressingVersion version, XmlBuffer buffer, out EndpointIdentity identity, out int section) 749static 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) 905static bool ReadContentsFrom10(XmlDictionaryReader reader, out Uri uri, out AddressHeaderCollection headers, out EndpointIdentity identity, out XmlBuffer buffer, out int metadataSection, out int extensionSection) 974static XmlException CreateXmlException(XmlDictionaryReader reader, string message) 986static bool Done(XmlDictionaryReader reader) 993static internal void Copy(XmlDictionaryWriter writer, XmlDictionaryReader reader) 1077XmlDictionaryReader reader = null; 1143XmlDictionaryReader reader = GetReaderAtSection(this.buffer, metadataSection); 1158XmlDictionaryReader reader = GetReaderAtSection(this.buffer, this.extensionSection); 1313public XmlDictionaryReader GetReaderAtMetadata() 1325XmlDictionaryReader reader = this.metadataBuffer.GetReader(0); 1332public void SetMetadataReader(XmlDictionaryReader reader) 1347public XmlDictionaryReader GetReaderAtExtensions() 1359XmlDictionaryReader reader = this.extensionBuffer.GetReader(0); 1366public void SetExtensionReader(XmlDictionaryReader reader)
System\ServiceModel\EndpointAddress10.cs (1)
50this.address = EndpointAddress.ReadFrom(AddressingVersion.WSAddressing10, XmlDictionaryReader.CreateDictionaryReader(reader));
System\ServiceModel\EndpointAddressAugust2004.cs (1)
50this.address = EndpointAddress.ReadFrom(AddressingVersion.WSAddressingAugust2004, XmlDictionaryReader.CreateDictionaryReader(reader));
System\ServiceModel\EndpointIdentity.cs (1)
194internal static EndpointIdentity ReadIdentity(XmlDictionaryReader reader)
System\ServiceModel\RsaEndpointIdentity.cs (1)
52internal RsaEndpointIdentity(XmlDictionaryReader reader)
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
286XmlDictionaryReader bodyReader = incomingMessage.GetReaderAtBodyContents();
System\ServiceModel\Security\DecryptedHeader.cs (6)
13XmlDictionaryReader cachedReader; 40XmlDictionaryReader reader = CreateReader(); 107XmlDictionaryReader CreateReader() 115public override XmlDictionaryReader GetHeaderReader() 119XmlDictionaryReader cachedReader = this.cachedReader; 123XmlDictionaryReader reader = CreateReader();
System\ServiceModel\Security\DerivedKeyCachingSecurityTokenSerializer.cs (2)
64XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\ServiceModel\Security\EncryptedData.cs (2)
52protected override void ReadCipherData(XmlDictionaryReader reader) 57protected override void ReadCipherData(XmlDictionaryReader reader, long maxBufferSize)
System\ServiceModel\Security\EncryptedHeaderXml.cs (1)
149public void ReadFrom(XmlDictionaryReader reader, long maxBufferSize)
System\ServiceModel\Security\IssuedTokensHeader.cs (2)
90XmlDictionaryReader reader = XmlDictionaryReader.CreateDictionaryReader(xmlReader);
System\ServiceModel\Security\LaxModeSecurityHeaderElementInferenceEngine.cs (1)
25public override void ExecuteProcessingPasses(ReceiveSecurityHeader securityHeader, XmlDictionaryReader reader)
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (2)
572XmlDictionaryReader reader = message.GetReaderAtBodyContents(); 582XmlDictionaryReader reader = message.GetReaderAtBodyContents();
System\ServiceModel\Security\ReceiveSecurityHeader.cs (29)
482internal XmlDictionaryReader CreateSecurityHeaderReader() 562protected abstract EncryptedData ReadSecurityHeaderEncryptedItem(XmlDictionaryReader reader, bool readXmlreferenceKeyInfoClause); 566protected abstract WrappedKeySecurityToken DecryptWrappedKey(XmlDictionaryReader reader); 573protected abstract bool IsReaderAtEncryptedKey(XmlDictionaryReader reader); 575protected abstract bool IsReaderAtEncryptedData(XmlDictionaryReader reader); 577protected abstract bool IsReaderAtReferenceList(XmlDictionaryReader reader); 579protected abstract bool IsReaderAtSignature(XmlDictionaryReader reader); 581protected abstract bool IsReaderAtSecurityTokenReference(XmlDictionaryReader reader); 605XmlDictionaryReader securityHeaderReader = GetReaderAtSecurityHeader(); 611XmlDictionaryReader reader = null; 627XmlDictionaryReader GetReaderAtSecurityHeader() 629XmlDictionaryReader reader = this.SecurityVerifiedMessage.GetReaderAtFirstHeader(); 745XmlDictionaryReader reader = CreateSecurityHeaderReader(); 1073internal void ExecuteReadingPass(XmlDictionaryReader reader) 1117internal void ExecuteFullPass(XmlDictionaryReader reader) 1235EncryptedData ReadEncryptedData(XmlDictionaryReader reader) 1243internal XmlDictionaryReader CreateDecryptedReader(byte[] decryptedBuffer) 1266XmlDictionaryReader decryptedReader = CreateDecryptedReader(decryptedBuffer); 1310XmlDictionaryReader dr = CreateDecryptedReader(db); 1353void ReadEncryptedKey(XmlDictionaryReader reader, bool processReferenceListIfPresent) 1383ReferenceList ReadReferenceList(XmlDictionaryReader reader) 1394protected abstract ReferenceList ReadReferenceListCore(XmlDictionaryReader reader); 1409SignedXml ReadSignature(XmlDictionaryReader reader, int position, byte[] decryptedBuffer) 1433protected abstract void ReadSecurityTokenReference(XmlDictionaryReader reader); 1457void ReadSignatureConfirmation(XmlDictionaryReader reader, int position, byte[] decryptedBuffer) 1538XmlDictionaryReader reader; 1590void ReadTimestamp(XmlDictionaryReader reader) 1624void ReadToken(XmlDictionaryReader reader, int position, byte[] decryptedBuffer, 1834protected abstract SignedXml ReadSignatureCore(XmlDictionaryReader signatureReader);
System\ServiceModel\Security\ReceiveSecurityHeaderElementManager.cs (5)
181public void GetPrimarySignature(out XmlDictionaryReader reader, out string id) 200internal XmlDictionaryReader GetReader(int index, bool requiresEncryptedFormReader) 211XmlDictionaryReader securityHeaderReader = this.securityHeader.CreateSecurityHeaderReader(); 220public XmlDictionaryReader GetSignatureVerificationReader(string id, bool requiresEncryptedFormReaderIfDecrypted) 443XmlDictionaryReader ISignatureReaderProvider.GetReader(object callbackContext)
System\ServiceModel\Security\RequestSecurityToken.cs (1)
545writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(this.cachedWriteBuffer, 0, this.cachedWriteBufferLength, XD.Dictionary, XmlDictionaryReaderQuotas.Max), false);
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (1)
622writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(this.cachedWriteBuffer, 0, this.cachedWriteBufferLength, XD.Dictionary, XmlDictionaryReaderQuotas.Max), false);
System\ServiceModel\Security\SctClaimSerializer.cs (6)
38static string ReadRightAttribute(XmlDictionaryReader reader, SctClaimDictionary dictionary) 51static SecurityIdentifier ReadSidAttribute(XmlDictionaryReader reader, SctClaimDictionary dictionary) 226public static Claim DeserializeClaim(XmlDictionaryReader reader, SctClaimDictionary dictionary, XmlObjectSerializer serializer) 343public static ClaimSet DeserializeClaimSet(XmlDictionaryReader reader, SctClaimDictionary dictionary, XmlObjectSerializer serializer, XmlObjectSerializer claimSerializer) 475public static IList<IIdentity> DeserializeIdentities(XmlDictionaryReader reader, SctClaimDictionary dictionary, XmlObjectSerializer serializer) 495static IIdentity DeserializePrimaryIdentity(XmlDictionaryReader reader, SctClaimDictionary dictionary, XmlObjectSerializer serializer)
System\ServiceModel\Security\SecureConversationDriver.cs (2)
80public abstract UniqueId GetSecurityContextTokenId(XmlDictionaryReader reader); 81public abstract bool IsAtSecurityContextToken(XmlDictionaryReader reader);
System\ServiceModel\Security\SecurityAppliedMessage.cs (3)
117XmlDictionaryReader reader = fullBodyBuffer.GetReader(0); 143XmlDictionaryReader reader = fullBodyBuffer.GetReader(0); 329XmlDictionaryReader reader = buffer.GetReader(0);
System\ServiceModel\Security\SecurityHeaderElementInferenceEngine.cs (1)
13public abstract void ExecuteProcessingPasses(ReceiveSecurityHeader securityHeader, XmlDictionaryReader reader);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (3)
939XmlDictionaryReader bodyReader = response.GetReaderAtBodyContents(); 1003XmlDictionaryReader bodyReader = message.GetReaderAtBodyContents(); 2752return standardsManager.SecureConversationDriver.GetSecurityContextTokenId(XmlDictionaryReader.CreateDictionaryReader(new XmlNodeReader(gxt.TokenXml)));
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (2)
775XmlDictionaryReader bodyReader = request.GetReaderAtBodyContents(); 881using (XmlDictionaryReader bodyReader = request.GetReaderAtBodyContents())
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
726XmlDictionaryReader bodyReader = response.GetReaderAtBodyContents();
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
1930XmlDictionaryReader bodyReader = request.GetReaderAtBodyContents();
System\ServiceModel\Security\SecurityStandardsManager.cs (1)
204using (XmlDictionaryReader reader = message.Headers.GetReaderAtHeader(securityHeaderIndex))
System\ServiceModel\Security\SecurityUtils.cs (1)
674internal static byte[] ReadContentAsBase64(XmlDictionaryReader reader, long maxBufferSize)
System\ServiceModel\Security\SecurityVerifiedMessage.cs (27)
17XmlDictionaryReader cachedDecryptedBodyContentReader; 28XmlDictionaryReader cachedReaderAtSecurityHeader; 39XmlDictionaryReader messageReader; 125public XmlDictionaryReader CreateFullBodyReader() 138XmlDictionaryReader CreateFullBodyReaderFromBufferedState() 142XmlDictionaryReader reader = this.messageBuffer.GetReader(0); 152XmlDictionaryReader CreateFullBodyReaderFromDecryptedState() 154XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(this.decryptedBuffer, 0, this.decryptedBuffer.Length, this.securityHeader.ReaderQuotas); 163XmlDictionaryReader reader = CreateFullBodyReader(); 186XmlDictionaryReader GetReaderAtEnvelope() 198public XmlDictionaryReader GetReaderAtFirstHeader() 200XmlDictionaryReader reader = GetReaderAtEnvelope(); 206public XmlDictionaryReader GetReaderAtSecurityHeader() 210XmlDictionaryReader result = this.cachedReaderAtSecurityHeader; 217void MoveToBody(XmlDictionaryReader reader) 234void MoveToHeaderBlock(XmlDictionaryReader reader, bool captureAttributes) 253void MoveToSecurityHeader(XmlDictionaryReader reader, int headerIndex, bool captureAttributes) 333protected override XmlDictionaryReader OnGetReaderAtBodyContents() 345XmlDictionaryReader result = this.cachedDecryptedBodyContentReader; 351XmlDictionaryReader reader = CreateFullBodyReader(); 407XmlDictionaryReader reader = CreateFullBodyReader(); 422XmlDictionaryReader reader = CreateFullBodyReader(); 430public void SetBodyPrefixAndAttributes(XmlDictionaryReader bodyReader) 479internal static XmlDictionaryReader CreateSplicedReader(byte[] decryptedBuffer, 502XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(splicedBuffer, quotas);
System\ServiceModel\Security\SecurityVersion.cs (4)
109internal virtual bool IsReaderAtSignatureConfirmation(XmlDictionaryReader reader) 114internal virtual ISignatureValueSecurityElement ReadSignatureConfirmation(XmlDictionaryReader reader) 254internal override bool IsReaderAtSignatureConfirmation(XmlDictionaryReader reader) 259internal override ISignatureValueSecurityElement ReadSignatureConfirmation(XmlDictionaryReader reader)
System\ServiceModel\Security\SignatureTargetIdManager.cs (1)
19public abstract string ExtractId(XmlDictionaryReader reader);
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (1)
270XmlDictionaryReader bodyReader = incomingMessage.GetReaderAtBodyContents();
System\ServiceModel\Security\StrictModeSecurityHeaderElementInferenceEngine.cs (1)
21public override void ExecuteProcessingPasses(ReceiveSecurityHeader securityHeader, XmlDictionaryReader reader)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
962XmlDictionaryReader bodyReader = incomingMessage.GetReaderAtBodyContents();
System\ServiceModel\Security\Tokens\SecurityContextCookieSerializer.cs (2)
38XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(serializedContext, 0, serializedContext.Length, dictionary, quotas, null, null);
System\ServiceModel\Security\WsKeyInfoSerializer.cs (5)
118public override bool CanReadClause( XmlDictionaryReader reader, string tokenType ) 145public override SecurityKeyIdentifierClause ReadClause( XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType ) 167protected abstract System.Xml.UniqueId ReadGeneration( XmlDictionaryReader reader ); 271protected override System.Xml.UniqueId ReadGeneration( XmlDictionaryReader reader ) 327protected override System.Xml.UniqueId ReadGeneration( XmlDictionaryReader reader )
System\ServiceModel\Security\WSSecureConversation.cs (9)
52public virtual bool IsAtDerivedKeyToken(XmlDictionaryReader reader) 57public 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) 131public 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) 236public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 370protected abstract bool CanReadGeneration(XmlDictionaryReader reader); 372protected abstract UniqueId ReadGeneration(XmlDictionaryReader reader); 422public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 562public override UniqueId GetSecurityContextTokenId(XmlDictionaryReader reader) 577public override bool IsAtSecurityContextToken(XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecureConversationDec2005.cs (2)
86protected override bool CanReadGeneration(XmlDictionaryReader reader) 97protected override UniqueId ReadGeneration(XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecureConversationFeb2005.cs (2)
78protected override bool CanReadGeneration(XmlDictionaryReader reader) 89protected override UniqueId ReadGeneration(XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecurityJan2004.cs (11)
143public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 216public override bool CanReadTokenCore(XmlDictionaryReader reader) 227public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 237using (XmlDictionaryReader reader = bufferedXmlToken.TokenXmlBuffer.GetReader(0)) 325public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 353public override IAsyncResult BeginReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver, AsyncCallback callback, object state) 387public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 429static string ParsePassword(XmlDictionaryReader reader) 440static void ParseToken(XmlDictionaryReader reader, out string id, out string userName, out string password) 514public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 667public override string ExtractId(XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecurityOneDotOneReceiveSecurityHeader.cs (1)
25protected override DecryptedHeader DecryptHeader(XmlDictionaryReader reader, WrappedKeySecurityToken wrappedKeyToken)
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (21)
68void DecryptBody(XmlDictionaryReader bodyContentReader, SecurityToken token) 90protected virtual DecryptedHeader DecryptHeader(XmlDictionaryReader reader, WrappedKeySecurityToken wrappedKeyToken) 123protected override WrappedKeySecurityToken DecryptWrappedKey(XmlDictionaryReader reader) 143string id, XmlDictionaryReader reader, bool doSoapAttributeChecks, 198XmlDictionaryReader reader = this.SecurityVerifiedMessage.GetReaderAtFirstHeader(); 226XmlDictionaryReader localreader = headers.GetReaderAtHeader(i); 261XmlDictionaryReader decryptionReader = headerSigned ? headers.GetReaderAtHeader(i) : reader; 274XmlDictionaryReader decryptedHeaderReader = decryptedHeader.GetHeaderReader(); 332XmlDictionaryReader bodyReader = bodySigned ? this.SecurityVerifiedMessage.CreateFullBodyReader() : reader; 385protected override bool IsReaderAtEncryptedData(XmlDictionaryReader reader) 395protected override bool IsReaderAtEncryptedKey(XmlDictionaryReader reader) 400protected override bool IsReaderAtReferenceList(XmlDictionaryReader reader) 405protected override bool IsReaderAtSignature(XmlDictionaryReader reader) 410protected override bool IsReaderAtSecurityTokenReference(XmlDictionaryReader reader) 421protected override ReferenceList ReadReferenceListCore(XmlDictionaryReader reader) 428protected override EncryptedData ReadSecurityHeaderEncryptedItem(XmlDictionaryReader reader, bool readXmlreferenceKeyInfoClause) 437protected override SignedXml ReadSignatureCore(XmlDictionaryReader signatureReader) 520protected override void ReadSecurityTokenReference(XmlDictionaryReader reader) 612XmlDictionaryReader toHeaderReader = this.Message.Headers.GetReaderAtHeader(headerIndex); 673XmlDictionaryReader reader = null; 725void VerifySoapAttributeMatchForHeader(MessageHeaderInfo info, MessagePartSpecification signatureParts, XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (1)
248XmlDictionaryReader dicReader = canonicalBuffer.GetReader(0);
System\ServiceModel\Security\WSSecurityPolicy.cs (3)
2302XmlDictionaryReader.CreateDictionaryReader(XmlReader.Create(stream)), 2330issuer = EndpointAddress.ReadFrom(XmlDictionaryReader.CreateDictionaryReader(new XmlNodeReader(node))); 2331XmlDictionaryReader metadataReader = issuer.GetReaderAtMetadata();
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (7)
211XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 223XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 483public virtual IAsyncResult BeginReadTokenCore(XmlDictionaryReader reader, 543public virtual bool CanReadTokenCore(XmlDictionaryReader reader) 556public abstract SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver);
System\ServiceModel\Security\WsSecurityTokenSerializerAdapter.cs (1)
343keyInfo.ReadXml( XmlDictionaryReader.CreateDictionaryReader( reader ) );
System\ServiceModel\Security\WSTrust.cs (13)
106public override bool CanReadTokenCore(XmlDictionaryReader reader) 130public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 242XmlDictionaryReader reader = XmlDictionaryReader.CreateDictionaryReader(xmlReader); 283using (XmlDictionaryReader reader = rstrBuffer.GetReader(0)) 317XmlDictionaryReader reader = XmlDictionaryReader.CreateDictionaryReader(xmlReader); 405XmlDictionaryReader reader = XmlDictionaryReader.CreateDictionaryReader(xmlReader); 964XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader); 1420using (XmlDictionaryReader reader = XmlDictionaryReader.CreateDictionaryReader(new XmlTextReader(stream) { DtdProcessing = DtdProcessing.Prohibit }))
System\ServiceModel\Security\WSUtilitySpecificationVersion.cs (4)
59internal abstract bool IsReaderAtTimestamp(XmlDictionaryReader reader); 61internal abstract SecurityTimestamp ReadTimestamp(XmlDictionaryReader reader, string digestAlgorithm, SignatureResourcePool resourcePool); 81internal override bool IsReaderAtTimestamp(XmlDictionaryReader reader) 86internal override SecurityTimestamp ReadTimestamp(XmlDictionaryReader reader, string digestAlgorithm, SignatureResourcePool resourcePool)
System\ServiceModel\Security\XmlHelper.cs (8)
220internal static string ReadEmptyElementAndRequiredAttribute(XmlDictionaryReader reader, 241internal static string GetRequiredNonEmptyAttribute(XmlDictionaryReader reader, XmlDictionaryString name, XmlDictionaryString ns) 251internal static byte[] GetRequiredBase64Attribute(XmlDictionaryReader reader, XmlDictionaryString name, XmlDictionaryString ns) 328internal static UniqueId GetAttributeAsUniqueId(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 333static UniqueId GetAttributeAsUniqueId(XmlDictionaryReader reader, string name, string ns) 413static public Int64 ReadElementContentAsInt64(XmlDictionaryReader reader) 426static public UniqueId ReadElementStringAsUniqueId(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 440static public UniqueId ReadElementStringAsUniqueId(XmlDictionaryReader reader)
System\ServiceModel\Syndication\Atom10ItemFormatter.cs (1)
164feedSerializer.ReadItemFrom(XmlDictionaryReader.CreateDictionaryReader(reader), this.Item);
System\ServiceModel\Syndication\ExtensibleSyndicationObject.cs (3)
67static XmlBuffer CreateXmlBuffer(XmlDictionaryReader unparsedExtensionsReader, int maxExtensionSize) 94XmlDictionaryReader r = XmlDictionaryReader.CreateDictionaryReader(readerOverUnparsedExtensions);
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (1)
182feedSerializer.ReadItemFrom(XmlDictionaryReader.CreateDictionaryReader(reader), this.Item);
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (2)
140using (XmlDictionaryReader reader = this.buffer.GetReader(0)) 230using (XmlDictionaryReader reader = this.buffer.GetReader(0))
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (4)
470XmlExceptionHelper.ThrowStartElementExpected(XmlDictionaryReader.CreateDictionaryReader(reader)); 559static void ThrowXmlException(XmlDictionaryReader reader, string res, string arg1) 579static string GetWhatWasFound(XmlDictionaryReader reader) 601static public void ThrowStartElementExpected(XmlDictionaryReader reader)
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (1)
69internal static void CreateBufferIfRequiredAndWriteNode(ref XmlBuffer buffer, ref XmlDictionaryWriter extWriter, XmlDictionaryReader reader, int maxExtensionSize)
System\ServiceModel\Syndication\XmlSyndicationContent.cs (4)
111public XmlDictionaryReader GetReaderAtContent() 135using (XmlDictionaryReader reader = this.contentBuffer.GetReader(0)) 157using (XmlDictionaryReader reader = this.contentBuffer.GetReader(0)) 179using (XmlDictionaryReader reader = this.contentBuffer.GetReader(0))
System\ServiceModel\Transactions\OletxTransactionHeader.cs (4)
94XmlDictionaryReader reader = message.Headers.GetReaderAtHeader(index); 117static OleTxTransactionHeader ReadFrom(XmlDictionaryReader reader) 186public static bool IsStartPropagationTokenElement(XmlDictionaryReader reader) 192public static byte[] ReadPropagationTokenElement(XmlDictionaryReader reader)
System\ServiceModel\Transactions\WsatRegistrationHeader.cs (2)
113XmlDictionaryReader reader = message.Headers.GetReaderAtHeader(index); 136static WsatRegistrationHeader ReadFrom(XmlDictionaryReader reader)
System\ServiceModel\Transactions\WsatTransactionHeader.cs (2)
82XmlDictionaryReader reader = message.Headers.GetReaderAtHeader(index); 113public static CoordinationContext GetCoordinationContext(XmlDictionaryReader reader, ProtocolVersion protocolVersion)
System\ServiceModel\X509CertificateEndpointIdentity.cs (1)
47internal X509CertificateEndpointIdentity(XmlDictionaryReader reader)
System\ServiceModel\XmlBuffer.cs (4)
128public XmlDictionaryReader GetReader(int sectionIndex) 133XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(buffer, section.Offset, section.Size, XD.Dictionary, section.Quotas, null, null); 142XmlDictionaryReader reader = GetReader(sectionIndex);
System.ServiceModel.Channels (5)
System\ServiceModel\Channels\ByteStreamMessage.cs (3)
325protected override T OnGetBody<T>(XmlDictionaryReader reader) 350protected override XmlDictionaryReader OnGetReaderAtBodyContents() 352XmlDictionaryReader r = this.reader;
System\ServiceModel\Channels\UdpOutputChannel.cs (2)
143using (XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateTextReader(messageData.Array, messageData.Offset, messageData.Count, null, XmlDictionaryReaderQuotas.Max, null))
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\SoapProcessingBehavior.cs (1)
250XmlDictionaryReader bodyReader = source.GetReaderAtBodyContents();
System.ServiceModel.Web (30)
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (11)
82volatile SynchronizedPool<XmlDictionaryReader> streamedReaderPool; 291XmlDictionaryReader xmlDictionaryReader = JsonReaderWriterFactory.CreateJsonReader( 381void ReturnStreamedReader(XmlDictionaryReader xmlReader) 432XmlDictionaryReader TakeStreamedReader(Stream stream, Encoding enc) 440streamedReaderPool = new SynchronizedPool<XmlDictionaryReader>(maxReadPoolSize); 444XmlDictionaryReader xmlReader = streamedReaderPool.Take(); 485Pool<XmlDictionaryReader> readerPool; 491readerPool = new Pool<XmlDictionaryReader>(maxReaderPoolSize); 518protected override void ReturnXmlReader(XmlDictionaryReader xmlReader) 526protected override XmlDictionaryReader TakeXmlReader() 530XmlDictionaryReader xmlReader = readerPool.Take();
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
335XmlDictionaryReader reader = reply.GetReaderAtBodyContents();
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (14)
81internal static bool IsJsonLocalName(XmlDictionaryReader reader, string elementName) 93internal static bool IsStartElement(XmlDictionaryReader reader, string elementName) 102internal static bool IsStartElement(XmlDictionaryReader reader, XmlDictionaryString elementName, XmlDictionaryString elementNamespace) 120protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest) 331object DeserializeBareMessageContract(XmlDictionaryReader reader, object[] parameters, bool isRequest) 416object DeserializeBodyCore(XmlDictionaryReader reader, object[] parameters, bool isRequest) 448object DeserializeParameter(XmlDictionaryReader reader, PartInfo part) 462object DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part) 499void DeserializeParameters(XmlDictionaryReader reader, PartInfo[] parts, object[] parameters, PartInfo returnInfo, ref object returnValue) 544void ReadRootElement(XmlDictionaryReader reader) 565void ReadVoidReturn(XmlDictionaryReader reader) 727void ValidateTypeObjectAttribute(XmlDictionaryReader reader, bool isRequest) 745void VerifyIsStartElement(XmlDictionaryReader reader, string elementName) 766void VerifyIsStartElement(XmlDictionaryReader reader, XmlDictionaryString elementName, XmlDictionaryString elementNamespace)
System\ServiceModel\Dispatcher\JsonQueryStringConverter.cs (1)
181XmlDictionaryReader jsonReader = JsonReaderWriterFactory.CreateJsonReader
System\ServiceModel\Dispatcher\SingleBodyParameterMessageFormatter.cs (1)
293XmlDictionaryReader reader = message.GetReaderAtBodyContents();
System\ServiceModel\Dispatcher\UnwrappedTypesXmlSerializerManager.cs (2)
124public override bool IsStartObject(XmlDictionaryReader reader) 129public override object ReadObject(XmlDictionaryReader reader, bool verifyObjectName)
System.WorkflowServices (4)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (2)
428XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateBinaryReader((byte[])serializedInstance, XmlDictionaryReaderQuotas.Max);
System\ServiceModel\Security\SerializableAuthorizationContext.cs (2)
150XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(contextBlob, 0, contextBlob.Length, claimDictionary, XmlDictionaryReaderQuotas.Max, null, null);