538 references to Value
System.Private.DataContractSerialization (208)
System\Runtime\Serialization\ClassDataContract.cs (2)
282if (ns.Length > 0 && ns != dataContract.Namespace.Value) 725XmlName = new XmlQualifiedName(GetXmlNameAndSetHasDataContract(type).Name, ns.Value);
System\Runtime\Serialization\DataContract.cs (54)
768if (ns == DictionaryGlobals.SchemaNamespace.Value) 770if (DictionaryGlobals.BooleanLocalName.Value == name) 772else if (DictionaryGlobals.SignedByteLocalName.Value == name) 774else if (DictionaryGlobals.UnsignedByteLocalName.Value == name) 776else if (DictionaryGlobals.ShortLocalName.Value == name) 778else if (DictionaryGlobals.UnsignedShortLocalName.Value == name) 780else if (DictionaryGlobals.IntLocalName.Value == name) 782else if (DictionaryGlobals.UnsignedIntLocalName.Value == name) 784else if (DictionaryGlobals.LongLocalName.Value == name) 786else if (DictionaryGlobals.integerLocalName.Value == name) 788else if (DictionaryGlobals.positiveIntegerLocalName.Value == name) 790else if (DictionaryGlobals.negativeIntegerLocalName.Value == name) 792else if (DictionaryGlobals.nonPositiveIntegerLocalName.Value == name) 794else if (DictionaryGlobals.nonNegativeIntegerLocalName.Value == name) 796else if (DictionaryGlobals.UnsignedLongLocalName.Value == name) 798else if (DictionaryGlobals.FloatLocalName.Value == name) 800else if (DictionaryGlobals.DoubleLocalName.Value == name) 802else if (DictionaryGlobals.DecimalLocalName.Value == name) 804else if (DictionaryGlobals.DateTimeLocalName.Value == name) 806else if (DictionaryGlobals.StringLocalName.Value == name) 808else if (DictionaryGlobals.timeLocalName.Value == name) 810else if (DictionaryGlobals.dateLocalName.Value == name) 812else if (DictionaryGlobals.hexBinaryLocalName.Value == name) 814else if (DictionaryGlobals.gYearMonthLocalName.Value == name) 816else if (DictionaryGlobals.gYearLocalName.Value == name) 818else if (DictionaryGlobals.gMonthDayLocalName.Value == name) 820else if (DictionaryGlobals.gDayLocalName.Value == name) 822else if (DictionaryGlobals.gMonthLocalName.Value == name) 824else if (DictionaryGlobals.normalizedStringLocalName.Value == name) 826else if (DictionaryGlobals.tokenLocalName.Value == name) 828else if (DictionaryGlobals.languageLocalName.Value == name) 830else if (DictionaryGlobals.NameLocalName.Value == name) 832else if (DictionaryGlobals.NCNameLocalName.Value == name) 834else if (DictionaryGlobals.XSDIDLocalName.Value == name) 836else if (DictionaryGlobals.IDREFLocalName.Value == name) 838else if (DictionaryGlobals.IDREFSLocalName.Value == name) 840else if (DictionaryGlobals.ENTITYLocalName.Value == name) 842else if (DictionaryGlobals.ENTITIESLocalName.Value == name) 844else if (DictionaryGlobals.NMTOKENLocalName.Value == name) 846else if (DictionaryGlobals.NMTOKENSLocalName.Value == name) 848else if (DictionaryGlobals.ByteArrayLocalName.Value == name) 850else if (DictionaryGlobals.ObjectLocalName.Value == name) 852else if (DictionaryGlobals.TimeSpanLocalName.Value == name) 854else if (DictionaryGlobals.UriLocalName.Value == name) 856else if (DictionaryGlobals.QNameLocalName.Value == name) 859else if (ns == DictionaryGlobals.SerializationNamespace.Value) 861if (DictionaryGlobals.TimeSpanLocalName.Value == name) 863else if (DictionaryGlobals.GuidLocalName.Value == name) 865else if (DictionaryGlobals.CharLocalName.Value == name) 870else if (ns == DictionaryGlobals.AsmxTypesNamespace.Value) 872if (DictionaryGlobals.CharLocalName.Value == name) 874else if (DictionaryGlobals.GuidLocalName.Value == name) 1092XmlName = CreateQualifiedName(name.Value, ns.Value);
System\Runtime\Serialization\EnumDataContract.cs (12)
91Add(typeof(sbyte), DictionaryGlobals.SignedByteLocalName.Value); // "byte" 92Add(typeof(byte), DictionaryGlobals.UnsignedByteLocalName.Value); // "unsignedByte" 93Add(typeof(short), DictionaryGlobals.ShortLocalName.Value); // "short" 94Add(typeof(ushort), DictionaryGlobals.UnsignedShortLocalName.Value); // "unsignedShort" 95Add(typeof(int), DictionaryGlobals.IntLocalName.Value); // "int" 96Add(typeof(uint), DictionaryGlobals.UnsignedIntLocalName.Value); // "unsignedInt" 97Add(typeof(long), DictionaryGlobals.LongLocalName.Value); // "long" 98Add(typeof(ulong), DictionaryGlobals.UnsignedLongLocalName.Value); // "unsignedLong" 290writer.WriteString(ChildElementNames![i].Value); 313writer.WriteString(DictionaryGlobals.Space.Value); 315writer.WriteString(ChildElementNames![i].Value); 324writer.WriteString(ChildElementNames![zeroIndex].Value);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (5)
374return (jsonName == null) ? false : CheckIfJsonNameRequiresMapping(jsonName.Value); 384return (xmlName == null) ? false : CheckIfXmlNameRequiresMapping(xmlName.Value); 395return (xmlName == null) ? null : new XmlDictionary().Add(ConvertXmlNameToJsonName(xmlName.Value)); 446return IsJsonLocalName(reader, RootName.Value); 557writer.WriteAttributeString(null, JsonGlobals.itemString, null, RootName.Value);
System\Runtime\Serialization\Json\JsonClassDataContract.cs (7)
126_typeName = string.IsNullOrEmpty(traditionalDataContract.Namespace.Value) ? traditionalDataContract.Name.Value : string.Concat(traditionalDataContract.Name.Value, JsonGlobals.NameValueSeparatorString, XmlObjectSerializerWriteContextComplexJson.TruncateDefaultDataContractNamespace(traditionalDataContract.Namespace.Value)); 162if (memberTable.ContainsKey(_traditionalClassDataContract.MemberNames[i].Value)) 164throw new SerializationException(SR.Format(SR.JsonDuplicateMemberNames, DataContract.GetClrTypeFullName(_traditionalClassDataContract.UnderlyingType), _traditionalClassDataContract.MemberNames[i].Value)); 168memberTable.Add(_traditionalClassDataContract.MemberNames[i].Value, null);
System\Runtime\Serialization\Json\JsonDataContract.cs (4)
166_typeName = string.IsNullOrEmpty(traditionalDataContract.Namespace.Value) ? traditionalDataContract.Name.Value : string.Concat(traditionalDataContract.Name.Value, JsonGlobals.NameValueSeparatorString, XmlObjectSerializerWriteContextComplexJson.TruncateDefaultDataContractNamespace(traditionalDataContract.Namespace.Value));
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
63if (memberNames[index].Value == name)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (7)
102(contract.Name.Value == declaredContract.Name.Value && 103contract.Namespace.Value == declaredContract.Namespace.Value)) && 117WriteTypeInfo(writer, contract.Name.Value, contract.Namespace.Value); 287xmlWriter.WriteAttributeString(null, JsonGlobals.itemString, null, memberNames[index].Value);
System\Runtime\Serialization\PrimitiveDataContract.cs (2)
1102else if (ns != null && ns.Value != null && ns.Value.Length > 0)
System\Runtime\Serialization\ReflectionXmlFormatWriter.cs (7)
48ReflectionXmlClassWriter.ReflectionWriteStartElement(xmlWriter, itemType, ns, ns.Value, itemName.Value); 78ReflectionXmlClassWriter.ReflectionWriteStartElement(xmlWriter, elementType, ns, ns.Value, itemName.Value); 186ReflectionWriteStartElement(xmlWriter, memberType, ns, ns.Value, member.Name); 227return type == Globals.TypeOfXmlQualifiedName && (ns != null && ns.Value != null && ns.Value.Length > 0);
System\Runtime\Serialization\SchemaExporter.cs (5)
106if (schema == null || dataContract.XmlName.Namespace != dataContract.TopLevelElementNamespace!.Value) 107schema = GetSchema(dataContract.TopLevelElementNamespace!.Value); 110topLevelElement.Name = dataContract.TopLevelElementName!.Value; 525new XmlQualifiedName(dataContract.TopLevelElementName!.Value, dataContract.TopLevelElementNamespace!.Value),
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
762return type == Globals.TypeOfXmlQualifiedName && (ns != null && ns.Value != null && ns.Value.Length > 0);
System\Runtime\Serialization\XmlObjectSerializer.cs (4)
265|| (contract.Name.Value == declaredContract.Name.Value && contract.Namespace.Value == declaredContract.Namespace.Value);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (3)
257stringBuilder.Append(memberNames[i].Value); 485throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ArrayExceededSizeAttribute, arraySize, itemName.Value, itemNamespace.Value));
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
355if (ns != null && ns.Value != null && ns.Value.Length > 0)
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (2)
129if (ns != null && ns.Value != null && ns.Value.Length > 0)
System\Runtime\Serialization\XmlReaderDelegator.cs (8)
84return ns.Value == reader.NamespaceURI; 92return localName.Value == reader.LocalName; 102if (reader.NamespaceURI == ns.Value) 107if (localName == localNames[i].Value) 130return !isEndOfEmptyElement && reader.IsStartElement(localname.Value, ns.Value); 799throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ArrayExceededSizeAttribute, expectedLength, itemName.Value, itemNamespace.Value));
System\Runtime\Serialization\XmlWriterDelegator.cs (13)
71WriteXmlnsAttribute(ns.Value); 106writer.WriteAttributeString("xmlns", prefix, null, ns.Value); 121localName?.Value!, 122namespaceUri?.Value); 154writer.WriteString(value.Value); 207writer.WriteQualifiedName(name.Value, ns.Value); 234writer.WriteStartElement(prefix, localName?.Value!, namespaceUri?.Value); 244writer.WriteStartElement(null, localName?.Value!, namespaceUri?.Value); 671writer.WriteQualifiedName(localName.Value, ns.Value);
System\Runtime\Serialization\XPathQueryGenerator.cs (3)
74string prefix = context.SetNamespace(contract.Namespace!.Value); 113string prefix = SetNamespace(rootContract.TopLevelElementNamespace!.Value); 114_xPathBuilder = new StringBuilder(XPathQueryGenerator.XPathSeparator + prefix + XPathQueryGenerator.NsSeparator + rootContract.TopLevelElementName!.Value);
System\Runtime\Serialization\XsdDataContractExporter.cs (2)
236return new XmlQualifiedName(dataContract.TopLevelElementName!.Value, dataContract.TopLevelElementNamespace!.Value);
System\Xml\PrefixHandle.cs (1)
208return Equals2(prefix2.Value);
System\Xml\StringHandle.cs (7)
113return nameTable.Add(_bufferReader.GetDictionaryString(_key).Value); 127return _bufferReader.GetDictionaryString(_key).Value; 196return _bufferReader.Equals2(_offset, _length, bufferReader2.GetDictionaryString(key2).Value); 198return GetString() == _bufferReader.GetDictionaryString(key2).Value; 209return GetString() == xmlString2.Value; 216return _bufferReader.GetDictionaryString(_key).Value == s2; 227return bufferReader2.Equals2(offset2, length2, _bufferReader.GetDictionaryString(_key).Value);
System\Xml\ValueHandle.cs (1)
508return GetDictionaryString().Value;
System\Xml\XmlBaseReader.cs (4)
2246return ns.Value == xmlnsNamespace; 2272return this.Namespace.Prefix == localName && ns.Value == xmlnsNamespace; 3080if (object.ReferenceEquals(s.Value, _uriString)) 3084_uriString = s.Value;
System\Xml\XmlBaseWriter.cs (13)
183prefix = _nsMgr.LookupPrefix(ns.Value); 186GeneratePrefix(ns.Value, ns); 191_nsMgr.AddNamespaceIfNotDeclared(prefix, ns.Value, ns); 298StartAttribute(ref prefix, localName?.Value!, namespaceUri?.Value, namespaceUri); 599StartElement(ref prefix, localName.Value, namespaceUri?.Value, namespaceUri); 846if (localName.Value.Length == 0) 849string prefix = GetQualifiedNamePrefix(namespaceUri.Value, namespaceUri); 853WriteAttributeText(string.Concat(prefix, ":", namespaceUri.Value)); 1003if (value.Value.Length > 0) 1008WriteAttributeText(value.Value); 1012StartContent(value.Value);
System\Xml\XmlBinaryReader.cs (1)
105value = BufferReader.GetDictionaryString(ReadDictionaryKey()).Value;
System\Xml\XmlBinaryReaderSession.cs (2)
81if (s != null && s.Value == value) 93if (s.Value == value)
System\Xml\XmlBinaryWriter.cs (6)
181WriteStartElement(prefix, localName.Value); 269WriteStartAttribute(prefix, localName.Value); 328WriteXmlnsAttribute(prefix, ns.Value); 558WriteText(value.Value); 1073_captureText = _captureXText.Value; 1091WriteText(s.Value);
System\Xml\XmlBinaryWriterSession.cs (3)
44key = Add(value.Value); 49key = Add(value.Value); 89if (_strings.TryGetValue(s.Value, out key))
System\Xml\XmlBufferReader.cs (5)
778string s = GetDictionaryString(key).Value; 804return GetDictionaryString(key1).Value == bufferReader2.GetDictionaryString(key2).Value; 812return GetDictionaryString(key1).Value == xmlString2.Value;
System\Xml\XmlDictionaryReader.cs (6)
229return IsLocalName(localName.Value); 243return IsNamespaceUri(namespaceUri.Value); 317if (this.NamespaceURI == namespaceUri.Value) 325if (localName == value.Value) 640if (value.Value == s) 643return value.Value;
System\Xml\XmlDictionaryString.cs (1)
41return s.Value;
System\Xml\XmlDictionaryWriter.cs (2)
165WriteQualifiedName(localName.Value, namespaceUri.Value);
System\Xml\XmlSigningNodeWriter.cs (6)
101_signingWriter.WriteStartElement(prefix, localName.Value); 135_signingWriter.WriteXmlnsAttribute(prefix, ns.Value); 154_signingWriter.WriteStartAttribute(prefix, localName.Value); 184_signingWriter.WriteEscapedText(value.Value); 214_signingWriter.WriteText(value.Value); 390_signingWriter.WriteText(localName.Value);
System\Xml\XmlUTF8TextWriter.cs (5)
190WriteStartElement(prefix, localName.Value); 285WriteXmlnsAttribute(prefix, ns.Value); 316WriteStartAttribute(prefix, localName.Value); 380WriteEscapedText(s.Value); 484WriteUTF8Chars(value.Value);
System.Runtime.Serialization.Schema (4)
System\Runtime\Serialization\Schema\CodeExporter.cs (4)
1315(xmlDataContract.TopLevelElementName != null && xmlDataContract.TopLevelElementName.Value != xmlDataContract.XmlName.Name) || 1316(xmlDataContract.TopLevelElementNamespace != null && xmlDataContract.TopLevelElementNamespace.Value != xmlDataContract.XmlName.Namespace); 1324xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("ElementName", new CodePrimitiveExpression(xmlDataContract.TopLevelElementName.Value))); 1328xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(xmlDataContract.TopLevelElementNamespace.Value)));
System.ServiceModel.Http (2)
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (2)
95XD.AddressingDictionary.Action.Value)); 114XD.AddressingDictionary.To.Value));
System.ServiceModel.Primitives (324)
Internals\System\Xml\XmlMtomWriter.cs (6)
225ThrowIfElementIsXOPInclude(prefix, localName.Value, ns == null ? null : ns.Value); 883CheckIfStartContentTypeAttribute(localName.Value, ns.Value); 917if (_depth == 0 && _mimeWriter.WriteState == MimeWriterState.Closed && XmlConverter.IsWhitespace(value.Value)) 1010if (_depth == 0 && _mimeWriter.WriteState == MimeWriterState.Closed && XmlConverter.IsWhitespace(value.Value))
System\IdentityModel\IdentityModelDictionary.cs (1)
111if (!TryLookup(key.Value, out s))
System\IdentityModel\Security\WSTrust.cs (1)
112writer.WriteStartElement(_parent.SerializerDictionary.Prefix.Value, _parent.SerializerDictionary.BinarySecret, _parent.SerializerDictionary.Namespace);
System\IdentityModel\Tokens\WSSecurityJan2004.cs (8)
240writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.SecurityTokenReference, XD.SecurityJan2004Dictionary.Namespace); 325writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.KeyIdentifier, XD.SecurityJan2004Dictionary.Namespace); 443writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.Reference, XD.SecurityJan2004Dictionary.Namespace); 497writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace); 498writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerSerial, XD.XmlSignatureDictionary.Namespace); 499writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerName, XD.XmlSignatureDictionary.Namespace, issuerClause.IssuerName); 500writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509SerialNumber, XD.XmlSignatureDictionary.Namespace, issuerClause.IssuerSerialNumber); 550writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (3)
58writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.SecurityTokenReference, XD.SecurityJan2004Dictionary.Namespace); 63writer.WriteAttributeString(XD.SecurityXXX2005Dictionary.Prefix.Value, XD.SecurityXXX2005Dictionary.TokenTypeAttribute, XD.SecurityXXX2005Dictionary.Namespace, tokenTypeUri); 134return XD.SecurityXXX2005Dictionary.ThumbprintSha1ValueType.Value;
System\IdentityModel\Tokens\XmlDsigSep2000.cs (7)
89writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, LocalName, NamespaceUri); 183writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Data, NamespaceUri); 185writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Certificate, NamespaceUri); 196writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace); 197writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerSerial, XD.XmlSignatureDictionary.Namespace); 198writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerName, XD.XmlSignatureDictionary.Namespace, issuerSerialClause.IssuerName); 199writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509SerialNumber, XD.XmlSignatureDictionary.Namespace, issuerSerialClause.IssuerSerialNumber);
System\ServiceModel\Channels\AddressHeader.cs (2)
323: base(name.Value, ns.Value, value, DataContractSerializerDefaults.CreateSerializer(GetObjectType(value), name, ns, int.MaxValue/*maxItems*/))
System\ServiceModel\Channels\Addressing.cs (1)
126: base(dictionaryAction.Value, version)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (5)
381int utf8ValueSize = Encoding.UTF8.GetByteCount(newStrings[i].Value); 411string newString = newStrings[i].Value; 686_readerSessionForLogging.Add(_writeIdCounter++, xmlDictionaryString.Value); 903int bytesRequired = Encoding.UTF8.GetByteCount(s.Value); 1428_toHeader = ToHeader.Create(new Uri(toString.Value), _messageVersion.Addressing);
System\ServiceModel\Channels\InternalDuplexBindingElement.cs (2)
22if (localAddress.Headers.FindHeader(XD.UtilityDictionary.UniqueEndpointHeaderName.Value, 23XD.UtilityDictionary.UniqueEndpointHeaderNamespace.Value) == null)
System\ServiceModel\Channels\Message.cs (4)
442writer.WriteStartElement(messageDictionary.Prefix.Value, messageDictionary.Body, Version.Envelope.DictionaryNamespace); 502writer.WriteStartElement(messageDictionary.Prefix.Value, messageDictionary.Envelope, envelopeVersion.DictionaryNamespace); 513writer.WriteStartElement(messageDictionary.Prefix.Value, messageDictionary.Header, envelopeVersion.DictionaryNamespace); 849string prefixString = prefix.Value;
System\ServiceModel\Channels\MessageFault.cs (3)
711&& attributeValue == XD.Message12Dictionary.Namespace.Value; 811string text = reader.ReadElementContentAsString(XD.Message11Dictionary.FaultString.Value, XD.Message11Dictionary.FaultNamespace.Value);
System\ServiceModel\Channels\MessageHeader.cs (2)
329get { return DictionaryName.Value; } 334get { return DictionaryNamespace.Value; }
System\ServiceModel\Channels\ServiceChannel.cs (2)
1060if (string.Compare(code.Namespace, SecurityVersion.Default.HeaderNamespace.Value, StringComparison.Ordinal) == 0) 1062if (string.Compare(code.Name, SecurityVersion.Default.FailedAuthenticationFaultCode.Value, StringComparison.Ordinal) == 0)
System\ServiceModel\Channels\TransportOutputChannel.cs (1)
111if (value == To.Value)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
578: base(headerPart.DictionaryName.Value, headerPart.DictionaryNamespace.Value, headerValue, headerPart.Serializer, mustUnderstand, actor ?? string.Empty, relay)
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (2)
66else if (reader.LocalName == XD.UtilityDictionary.IdAttribute.Value && reader.NamespaceURI == XD.UtilityDictionary.Namespace.Value)
System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
72return _action.Value; 84return _replyAction.Value;
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
702reader.MoveToAttribute(_xsiNilLocalName.Value, _xsiNilNamespace.Value) &&
System\ServiceModel\EndpointAddress.cs (9)
632throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SRP.Format(SRP.UnexpectedDuplicateElement, XD.AddressingDictionary.Identity.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value))); 685throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SRP.Format(SRP.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing200408Dictionary.Namespace.Value))); 841throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, AddressingVersion.WSAddressingAugust2004.Namespace))); 856throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SRP.Format(SRP.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value))); 913throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value)));
System\ServiceModel\EndpointIdentity.cs (2)
156throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.Identity.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value)));
System\ServiceModel\RsaEndpointIdentity.cs (8)
47byte[] modulus = Convert.FromBase64String(reader.ReadElementString(XD.XmlSignatureDictionary.Modulus.Value, XD.XmlSignatureDictionary.Namespace.Value)); 48byte[] exponent = Convert.FromBase64String(reader.ReadElementString(XD.XmlSignatureDictionary.Exponent.Value, XD.XmlSignatureDictionary.Namespace.Value)); 63writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.KeyInfo, XD.XmlSignatureDictionary.Namespace); 64writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.RsaKeyValue, XD.XmlSignatureDictionary.Namespace); 67writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.Modulus, XD.XmlSignatureDictionary.Namespace, Convert.ToBase64String(parameters.Modulus)); 68writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.Exponent, XD.XmlSignatureDictionary.Namespace, Convert.ToBase64String(parameters.Exponent));
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
190if (incomingMessage.Headers.Action != RequestSecurityTokenResponseAction.Value)
System\ServiceModel\Security\BinaryNegotiation.cs (2)
29ValueTypeUri = valueTypeDictionaryString.Value; 35if (ValueTypeUri != valueTypeUriDictionaryString.Value)
System\ServiceModel\Security\BinarySecretKeyIdentifierClause.cs (1)
24: base(XD.TrustFeb2005Dictionary.BinarySecretClauseType.Value, key, cloneBuffer, derivationNonce, derivationLength)
System\ServiceModel\Security\MessageSecurityTokenVersion.cs (18)
23XD.SecurityJan2004Dictionary.Namespace.Value, 24XD.TrustFeb2005Dictionary.Namespace.Value, 25XD.SecureConversationFeb2005Dictionary.Namespace.Value, 33XD.SecurityXXX2005Dictionary.Namespace.Value, 34XD.TrustFeb2005Dictionary.Namespace.Value, 35XD.SecureConversationFeb2005Dictionary.Namespace.Value, 43XD.SecurityXXX2005Dictionary.Namespace.Value, 44DXD.TrustDec2005Dictionary.Namespace.Value, 45DXD.SecureConversationDec2005Dictionary.Namespace.Value 53XD.SecurityJan2004Dictionary.Namespace.Value, 54DXD.TrustDec2005Dictionary.Namespace.Value, 55DXD.SecureConversationDec2005Dictionary.Namespace.Value 63XD.SecurityXXX2005Dictionary.Namespace.Value, 64DXD.TrustDec2005Dictionary.Namespace.Value, 65DXD.SecureConversationDec2005Dictionary.Namespace.Value 74XD.SecurityXXX2005Dictionary.Namespace.Value, 75XD.TrustFeb2005Dictionary.Namespace.Value, 76XD.SecureConversationFeb2005Dictionary.Namespace.Value);
System\ServiceModel\Security\NegotiationTokenProvider.cs (2)
131ClientOperation rstOperation = new ClientOperation(serviceChannelFactory.ClientRuntime, "RequestSecurityToken", RequestSecurityTokenAction.Value); 137ClientOperation rstrOperation = new ClientOperation(serviceChannelFactory.ClientRuntime, "RequestSecurityTokenResponse", RequestSecurityTokenResponseAction.Value);
System\ServiceModel\Security\ReceiveSecurityHeader.cs (2)
226get { return StandardsManager.SecurityVersion.HeaderName.Value; } 231get { return StandardsManager.SecurityVersion.HeaderNamespace.Value; }
System\ServiceModel\Security\ScopedMessagePartSpecification.cs (1)
106AddParts(parts, action.Value);
System\ServiceModel\Security\SecurityAlgorithmSuite.cs (14)
131public override string DefaultCanonicalizationAlgorithm { get { return DefaultCanonicalizationAlgorithmDictionaryString.Value; } } 132public override string DefaultDigestAlgorithm { get { return DefaultDigestAlgorithmDictionaryString.Value; } } 133public override string DefaultEncryptionAlgorithm { get { return DefaultEncryptionAlgorithmDictionaryString.Value; } } 135public override string DefaultSymmetricKeyWrapAlgorithm { get { return DefaultSymmetricKeyWrapAlgorithmDictionaryString.Value; } } 136public override string DefaultAsymmetricKeyWrapAlgorithm { get { return DefaultAsymmetricKeyWrapAlgorithmDictionaryString.Value; } } 137public override string DefaultSymmetricSignatureAlgorithm { get { return DefaultSymmetricSignatureAlgorithmDictionaryString.Value; } } 138public override string DefaultAsymmetricSignatureAlgorithm { get { return DefaultAsymmetricSignatureAlgorithmDictionaryString.Value; } } 162public override string DefaultCanonicalizationAlgorithm { get { return DefaultCanonicalizationAlgorithmDictionaryString.Value; } } 163public override string DefaultDigestAlgorithm { get { return DefaultDigestAlgorithmDictionaryString.Value; } } 164public override string DefaultEncryptionAlgorithm { get { return DefaultEncryptionAlgorithmDictionaryString.Value; } } 166public override string DefaultSymmetricKeyWrapAlgorithm { get { return DefaultSymmetricKeyWrapAlgorithmDictionaryString.Value; } } 167public override string DefaultAsymmetricKeyWrapAlgorithm { get { return this.DefaultAsymmetricKeyWrapAlgorithmDictionaryString.Value; } } 169public override string DefaultSymmetricSignatureAlgorithm { get { return DefaultSymmetricSignatureAlgorithmDictionaryString.Value; } } 170public override string DefaultAsymmetricSignatureAlgorithm { get { return DefaultAsymmetricSignatureAlgorithmDictionaryString.Value; } }
System\ServiceModel\Security\SecuritySessionClientSettings.cs (5)
670if (subCode.Namespace == scDriver.Namespace.Value && subCode.Name == scDriver.RenewNeededFaultCode.Value) 702if (response.Headers.Action != Settings.SecurityStandardsManager.SecureConversationDriver.CloseResponseAction.Value) 845if (action == Settings.SecurityStandardsManager.SecureConversationDriver.CloseResponseAction.Value) 850else if (action == Settings.SecurityStandardsManager.SecureConversationDriver.CloseAction.Value)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (5)
349MessageFilter issueAndRenewFilter = new SessionActionFilter(_standardsManager, IssueResponseAction.Value, RenewResponseAction.Value); 370ClientOperation issueOperation = new ClientOperation(serviceChannelFactory.ClientRuntime, "Issue", IssueAction.Value); 374ClientOperation renewOperation = new ClientOperation(serviceChannelFactory.ClientRuntime, "Renew", RenewAction.Value); 687if (response.Headers.Action != RenewResponseAction.Value)
System\ServiceModel\Security\SecurityUtils.cs (3)
1002return (subCode.Namespace == standardsManager.SecurityVersion.HeaderNamespace.Value 1003|| subCode.Namespace == standardsManager.SecureConversationDriver.Namespace.Value 1004|| subCode.Namespace == standardsManager.TrustDriver.Namespace.Value
System\ServiceModel\Security\SecurityVersion.cs (11)
84return message.Headers.FindHeader(HeaderName.Value, HeaderNamespace.Value) >= 0; 89return message.Headers.FindHeader(HeaderName.Value, HeaderNamespace.Value, actors); 110int headerIndex = message.Headers.FindHeader(HeaderName.Value, HeaderNamespace.Value, actor); 113headerIndex = message.Headers.FindHeader(HeaderName.Value, HeaderNamespace.Value, message.Version.Envelope.UltimateDestinationActorValues); 135writer.WriteStartElement(HeaderPrefix.Value, HeaderName, HeaderNamespace); 256writer.WriteStartElement(XD.SecurityXXX2005Dictionary.Prefix.Value, XD.SecurityXXX2005Dictionary.SignatureConfirmation, XD.SecurityXXX2005Dictionary.Namespace); 257writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
System\ServiceModel\Security\SendSecurityHeader.cs (2)
211get { return StandardsManager.SecurityVersion.HeaderName.Value; } 216get { return StandardsManager.SecurityVersion.HeaderNamespace.Value; }
System\ServiceModel\Security\WSKeyInfoSerializer.cs (8)
109if (tokenType != null && tokenType != Parent.SerializerDictionary.SecurityContextTokenType.Value) 119if (valueType != null && valueType != Parent.SerializerDictionary.SecurityContextTokenReferenceValueType.Value) 169writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.Reference, XD.SecurityJan2004Dictionary.Namespace); 172writer.WriteAttributeString(XD.SecurityJan2004Dictionary.ValueType, null, Parent.SerializerDictionary.SecurityContextTokenReferenceValueType.Value); 201public override string TokenTypeUri { get { return Parent.SerializerDictionary.SecurityContextTokenType.Value; } } 229public override string TokenTypeUri { get { return _parent.SerializerDictionary.DerivedKeyTokenType.Value; } } 273Parent.SecurityTokenSerializer.DictionaryManager.SecureConversationFeb2005Dictionary.Prefix.Value, 327Parent.SecurityTokenSerializer.DictionaryManager.SecureConversationDec2005Dictionary.Prefix.Value,
System\ServiceModel\Security\WSSecureConversation.cs (10)
83public override string TokenTypeUri { get { return _parent.SerializerDictionary.DerivedKeyTokenType.Value; } } 247string serializerPrefix = _parent.SerializerDictionary.Prefix.Value; 252writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, derivedKeyToken.Id); 316public override string TokenTypeUri { get { return Parent.SerializerDictionary.SecurityContextTokenType.Value; } } 337if (element.LocalName == Parent.SerializerDictionary.Identifier.Value && element.NamespaceURI == Parent.SerializerDictionary.Namespace.Value) 476writer.WriteStartElement(Parent.SerializerDictionary.Prefix.Value, Parent.SerializerDictionary.SecurityContextToken, Parent.SerializerDictionary.Namespace); 479writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, sct.Id); 483writer.WriteStartElement(Parent.SerializerDictionary.Prefix.Value, Parent.SerializerDictionary.Identifier, Parent.SerializerDictionary.Namespace); 498writer.WriteStartElement(XD.DotNetSecurityDictionary.Prefix.Value, Parent.SerializerDictionary.Cookie, XD.DotNetSecurityDictionary.Namespace);
System\ServiceModel\Security\WSSecureConversationDec2005.cs (4)
77return (element.LocalName == DXD.SecureConversationDec2005Dictionary.Instance.Value && 78element.NamespaceURI == DXD.SecureConversationDec2005Dictionary.Namespace.Value); 96writer.WriteStartElement(DXD.SecureConversationDec2005Dictionary.Prefix.Value, 148get { return DXD.SecureConversationDec2005Dictionary.SecurityContextTokenType.Value; }
System\ServiceModel\Security\WSSecureConversationFeb2005.cs (4)
62return (element.LocalName == DXD.SecureConversationDec2005Dictionary.Instance.Value && 63element.NamespaceURI == XD.SecureConversationFeb2005Dictionary.Namespace.Value); 81writer.WriteStartElement(XD.SecureConversationFeb2005Dictionary.Prefix.Value, DXD.SecureConversationDec2005Dictionary.Instance, 132get { return XD.SecureConversationFeb2005Dictionary.SecurityContextTokenType.Value; }
System\ServiceModel\Security\WSSecurityJan2004.cs (7)
170writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, ElementName, XD.SecurityJan2004Dictionary.Namespace); 173writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id); 296writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.UserNameTokenElement, 298writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, 300writer.WriteElementString(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.UserNameElement, 304writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.PasswordElement, 447writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (4)
246if ((header.Name == XD.AddressingDictionary.To.Value) && 665if (_isStrReferenceElement && _insertId && localName == XD.UtilityDictionary.IdAttribute.Value) 679_innerWriter.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, _id); 688if (_index == 1 && localName == XD.SecurityJan2004Dictionary.SecurityTokenReference.Value)
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (5)
484return element.LocalName == LocalName.Value && element.NamespaceURI == NamespaceUri.Value && valueTypeUri == ValueTypeUri; 528if (_dictionaryStrings[i].Value.Equals(value)) 562(_dictionaryStrings[i].Value.Equals(value.Value)))
System\ServiceModel\Security\WSTrust.cs (97)
84return element.LocalName == LocalName.Value && (element.NamespaceURI == NamespaceUri.Value || element.NamespaceURI == _otherDictionary.Namespace.Value) && valueTypeUri == ValueTypeUri; 119if (secretType == _parent.SerializerDictionary.NonceBinarySecret.Value || secretType == _otherDictionary.NonceBinarySecret.Value) 123else if (secretType != _parent.SerializerDictionary.SymmetricKeyBinarySecret.Value && secretType != _otherDictionary.SymmetricKeyBinarySecret.Value) 125throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SRP.Format(SRP.UnexpectedBinarySecretType, _parent.SerializerDictionary.SymmetricKeyBinarySecret.Value, secretType))); 144writer.WriteStartElement(_parent.SerializerDictionary.Prefix.Value, _parent.SerializerDictionary.BinarySecret, _parent.SerializerDictionary.Namespace); 147writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, simpleToken.Id); 151writer.WriteAttributeString(XD.SecurityJan2004Dictionary.TypeAttribute, null, _parent.SerializerDictionary.NonceBinarySecret.Value); 198return DriverDictionary.RequestTypeIssue.Value; 204get { return DriverDictionary.Psha1ComputedKeyUri.Value; } 235if (attr.LocalName == DriverDictionary.Context.Value) 245if (child.LocalName == DriverDictionary.TokenType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 249else if (child.LocalName == DriverDictionary.RequestType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 253else if (child.LocalName == DriverDictionary.KeySize.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 306XmlHelper.OnRequiredElementMissing(DriverDictionary.RequestSecurityTokenResponse.Value, DriverDictionary.Namespace.Value); 336if (attr.LocalName == DriverDictionary.Context.Value) 347if (child.LocalName == DriverDictionary.TokenType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 351else if (child.LocalName == DriverDictionary.KeySize.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 355else if (child.LocalName == DriverDictionary.RequestedProofToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 358if (proofXml.LocalName == DriverDictionary.ComputedKey.Value && proofXml.NamespaceURI == DriverDictionary.Namespace.Value) 361if (computedKeyAlgorithm != DriverDictionary.Psha1ComputedKeyUri.Value) 368else if (child.LocalName == DriverDictionary.Lifetime.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 399while (reader.IsStartElement(DriverDictionary.RequestSecurityTokenResponse.Value, DriverDictionary.Namespace.Value)) 452if (element.LocalName == DriverDictionary.Authenticator.Value && element.NamespaceURI == DriverDictionary.Namespace.Value) 455if (combinedHashElement.LocalName == DriverDictionary.CombinedHash.Value && combinedHashElement.NamespaceURI == DriverDictionary.Namespace.Value) 498if (elem.LocalName == DriverDictionary.BinaryExchange.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 538if (element.LocalName == DriverDictionary.Entropy.Value && element.NamespaceURI == DriverDictionary.Namespace.Value) 565if (elem.LocalName == DriverDictionary.RequestedSecurityToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 573else if (elem.LocalName == DriverDictionary.RequestedProofToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 730return reader.IsStartElement(DriverDictionary.RequestSecurityTokenResponse.Value, DriverDictionary.Namespace.Value); 740return reader.IsStartElement(DriverDictionary.RequestSecurityTokenResponseCollection.Value, DriverDictionary.Namespace.Value); 745return (name == DriverDictionary.RequestedSecurityToken.Value && nameSpace == DriverDictionary.Namespace.Value); 750return (name == DriverDictionary.RequestedProofToken.Value && nameSpace == DriverDictionary.Namespace.Value); 817if (child.LocalName == DriverDictionary.RequestedSecurityToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 821else if (child.LocalName == DriverDictionary.RequestedTokenReference.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 917writer.WriteStartElement(Namespaces.WSPolicyPrefix, DriverDictionary.AppliesTo.Value, Namespaces.WSPolicy); 933negotiation.WriteTo(writer, DriverDictionary.Prefix.Value, 954writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestSecurityToken, DriverDictionary.Namespace); 955XmlHelper.AddNamespaceDeclaration(writer, DriverDictionary.Prefix.Value, DriverDictionary.Namespace); 964writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.TokenType, DriverDictionary.Namespace); 970writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestType, DriverDictionary.Namespace); 983writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.Entropy, DriverDictionary.Namespace); 990writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.KeySize, DriverDictionary.Namespace); 1024writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestedTokenReference, DriverDictionary.Namespace); 1052writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestSecurityTokenResponse, DriverDictionary.Namespace); 1063writer.WriteElementString(DriverDictionary.Prefix.Value, DriverDictionary.TokenType, DriverDictionary.Namespace, rstr.TokenType); 1068writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestedSecurityToken, DriverDictionary.Namespace); 1082writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestedProofToken, DriverDictionary.Namespace); 1085writer.WriteElementString(DriverDictionary.Prefix.Value, DriverDictionary.ComputedKey, DriverDictionary.Namespace, DriverDictionary.Psha1ComputedKeyUri.Value); 1097writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.Entropy, DriverDictionary.Namespace); 1123writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.Lifetime, DriverDictionary.Namespace); 1125writer.WriteStartElement(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.CreatedElement, XD.UtilityDictionary.Namespace); 1129writer.WriteStartElement(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.ExpiresElement, XD.UtilityDictionary.Namespace); 1138writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.Authenticator, DriverDictionary.Namespace); 1139writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.CombinedHash, DriverDictionary.Namespace); 1147writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.KeySize, DriverDictionary.Namespace); 1172writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestSecurityTokenResponseCollection, DriverDictionary.Namespace); 1208return element.LocalName == DriverDictionary.KeyType.Value 1209&& element.NamespaceURI == DriverDictionary.Namespace.Value 1210&& element.InnerText == DriverDictionary.SymmetricKeyType.Value; 1216XmlElement result = doc.CreateElement(DriverDictionary.Prefix.Value, DriverDictionary.KeyType.Value, 1217DriverDictionary.Namespace.Value); 1218result.AppendChild(doc.CreateTextNode(DriverDictionary.SymmetricKeyType.Value)); 1229return element.LocalName == DriverDictionary.KeyType.Value 1230&& element.NamespaceURI == DriverDictionary.Namespace.Value 1231&& element.InnerText == DriverDictionary.PublicKeyType.Value; 1237XmlElement result = doc.CreateElement(DriverDictionary.Prefix.Value, DriverDictionary.KeyType.Value, 1238DriverDictionary.Namespace.Value); 1239result.AppendChild(doc.CreateTextNode(DriverDictionary.PublicKeyType.Value));
System\ServiceModel\Security\WSTrustDec2005.cs (5)
46return ((element.LocalName == DXD.TrustDec2005Dictionary.SecondaryParameters.Value) && 47(element.NamespaceURI == DXD.TrustDec2005Dictionary.Namespace.Value)); 58XmlElement result = doc.CreateElement(DXD.TrustDec2005Dictionary.Prefix.Value, DXD.TrustDec2005Dictionary.KeyWrapAlgorithm.Value, 59DXD.TrustDec2005Dictionary.Namespace.Value);
System\ServiceModel\Security\WSTrustFeb2005.cs (20)
66return DriverDictionary.IssuedTokensHeader.Value; 74return DriverDictionary.Namespace.Value; 82return DriverDictionary.RequestTypeRenew.Value; 90return DriverDictionary.RequestTypeClose.Value; 105if (child.LocalName == DriverDictionary.RequestedSecurityToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 109else if (child.LocalName == DriverDictionary.RequestedAttachedReference.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 113else if (child.LocalName == DriverDictionary.RequestedUnattachedReference.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 147if (child.LocalName == DriverDictionary.RequestedTokenClosed.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 166if (child.LocalName == DriverDictionary.RenewTarget.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 170else if (child.LocalName == DriverDictionary.CloseTarget.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 182writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestedAttachedReference, DriverDictionary.Namespace); 189writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestedUnattachedReference, DriverDictionary.Namespace); 207writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RenewTarget, DriverDictionary.Namespace); 214writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.CloseTarget, DriverDictionary.Namespace);
System\ServiceModel\Security\WSUtilitySpecificationVersion.cs (1)
117writer.WriteStartElement(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.Timestamp, XD.UtilityDictionary.Namespace);
System\ServiceModel\Security\XmlHelper.cs (10)
15string p = writer.LookupPrefix(ns.Value); 24string p = writer.LookupPrefix(ns.Value); 229OnRequiredAttributeMissing(attributeName.Value, null); 245OnRequiredAttributeMissing(name.Value, reader == null ? null : reader.Name); 252if (!reader.MoveToAttribute(name.Value, ns == null ? null : ns.Value)) 254OnRequiredAttributeMissing(name.Value, ns == null ? null : ns.Value); 329return GetAttributeAsUniqueId(reader, localName.Value, (ns != null ? ns.Value : null));
System\ServiceModel\ServiceModelDictionary.cs (1)
130if (!TryLookup(key.Value, out s))
System\ServiceModel\X509CertificateEndpointIdentity.cs (6)
58throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.X509v3Certificate.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value))); 80throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.X509v3Certificate.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value))); 93writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.KeyInfo, XD.XmlSignatureDictionary.Namespace); 94writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace);