39 references to Key
System.Private.DataContractSerialization (10)
System\Xml\XmlBinaryWriter.cs (2)
351key = s.Key * 2; 358key = t.Key * 2;
System\Xml\XmlBinaryWriterSession.cs (7)
36key = (keys[value.Key] - 1); 45keys[value.Key] = (key + 1); 50keys = AddKeys(value.Dictionary, value.Key + 1); 51keys[value.Key] = (key + 1); 81key = (keys[s.Key] - 1); 91keys ??= AddKeys(s.Dictionary, s.Key + 1); 93keys[s.Key] = (key + 1);
System\Xml\XmlBufferReader.cs (1)
810return xmlString2.Key == (key1 >> 1);
System.ServiceModel.Primitives (29)
System\IdentityModel\IdentityModelDictionary.cs (2)
108XmlDictionaryString s = _versionedDictionaryStrings[key.Key]; 116_versionedDictionaryStrings[key.Key] = s;
System\ServiceModel\Channels\BinaryMessageEncoder.cs (22)
1232builder.AppendPrefixDictionaryElement(messagePrefix, builder.GetStaticKey(messageDictionary.Envelope.Key)); 1233builder.AppendDictionaryXmlnsAttribute(messagePrefix, builder.GetStaticKey(message12Dictionary.Namespace.Key)); 1234builder.AppendDictionaryXmlnsAttribute(addressingPrefix, builder.GetStaticKey(addressing10Dictionary.Namespace.Key)); 1237builder.AppendPrefixDictionaryElement(messagePrefix, builder.GetStaticKey(messageDictionary.Header.Key)); 1240builder.AppendPrefixDictionaryElement(addressingPrefix, builder.GetStaticKey(addressingDictionary.Action.Key)); 1241builder.AppendPrefixDictionaryAttribute(messagePrefix, builder.GetStaticKey(messageDictionary.MustUnderstand.Key), '1'); 1246builder.AppendPrefixDictionaryElement(addressingPrefix, builder.GetStaticKey(addressingDictionary.MessageId.Key)); 1251builder.AppendPrefixDictionaryElement(addressingPrefix, builder.GetStaticKey(addressingDictionary.ReplyTo.Key)); 1252builder.AppendPrefixDictionaryElement(addressingPrefix, builder.GetStaticKey(addressingDictionary.Address.Key)); 1253builder.AppendDictionaryTextWithEndElement(builder.GetStaticKey(addressing10Dictionary.Anonymous.Key)); 1257builder.AppendPrefixDictionaryElement(addressingPrefix, builder.GetStaticKey(addressingDictionary.To.Key)); 1258builder.AppendPrefixDictionaryAttribute(messagePrefix, builder.GetStaticKey(messageDictionary.MustUnderstand.Key), '1'); 1265builder.AppendPrefixDictionaryElement(messagePrefix, builder.GetStaticKey(messageDictionary.Body.Key)); 1269builder.AppendPrefixDictionaryElement(addressingPrefix, builder.GetStaticKey(addressingDictionary.RelatesTo.Key)); 1274builder.AppendPrefixDictionaryElement(addressingPrefix, builder.GetStaticKey(addressingDictionary.To.Key)); 1275builder.AppendPrefixDictionaryAttribute(messagePrefix, builder.GetStaticKey(messageDictionary.MustUnderstand.Key), '1'); 1276builder.AppendDictionaryTextWithEndElement(builder.GetStaticKey(addressing10Dictionary.Anonymous.Key)); 1282builder.AppendPrefixDictionaryElement(messagePrefix, builder.GetStaticKey(messageDictionary.Body.Key)); 1286builder.AppendPrefixDictionaryElement(messagePrefix, builder.GetStaticKey(messageDictionary.Envelope.Key)); 1287builder.AppendDictionaryXmlnsAttribute(messagePrefix, builder.GetStaticKey(message12Dictionary.Namespace.Key)); 1288builder.AppendDictionaryXmlnsAttribute(addressingPrefix, builder.GetStaticKey(addressing10Dictionary.Namespace.Key)); 1291builder.AppendPrefixDictionaryElement(messagePrefix, builder.GetStaticKey(messageDictionary.Body.Key));
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (3)
542if (_dictionaryStrings[i].Key == key) 561if ((_dictionaryStrings[i].Key == value.Key) &&
System\ServiceModel\ServiceModelDictionary.cs (2)
127XmlDictionaryString s = _versionedDictionaryStrings[key.Key]; 135_versionedDictionaryStrings[key.Key] = s;