208 references to Value
System.Private.DataContractSerialization (208)
System\Runtime\Serialization\ClassDataContract.cs (2)
282if (ns.Length > 0 && ns != dataContract.Namespace.Value) 727XmlName = new XmlQualifiedName(GetXmlNameAndSetHasDataContract(type).Name, ns.Value);
System\Runtime\Serialization\DataContract.cs (54)
751if (ns == DictionaryGlobals.SchemaNamespace.Value) 753if (DictionaryGlobals.BooleanLocalName.Value == name) 755else if (DictionaryGlobals.SignedByteLocalName.Value == name) 757else if (DictionaryGlobals.UnsignedByteLocalName.Value == name) 759else if (DictionaryGlobals.ShortLocalName.Value == name) 761else if (DictionaryGlobals.UnsignedShortLocalName.Value == name) 763else if (DictionaryGlobals.IntLocalName.Value == name) 765else if (DictionaryGlobals.UnsignedIntLocalName.Value == name) 767else if (DictionaryGlobals.LongLocalName.Value == name) 769else if (DictionaryGlobals.integerLocalName.Value == name) 771else if (DictionaryGlobals.positiveIntegerLocalName.Value == name) 773else if (DictionaryGlobals.negativeIntegerLocalName.Value == name) 775else if (DictionaryGlobals.nonPositiveIntegerLocalName.Value == name) 777else if (DictionaryGlobals.nonNegativeIntegerLocalName.Value == name) 779else if (DictionaryGlobals.UnsignedLongLocalName.Value == name) 781else if (DictionaryGlobals.FloatLocalName.Value == name) 783else if (DictionaryGlobals.DoubleLocalName.Value == name) 785else if (DictionaryGlobals.DecimalLocalName.Value == name) 787else if (DictionaryGlobals.DateTimeLocalName.Value == name) 789else if (DictionaryGlobals.StringLocalName.Value == name) 791else if (DictionaryGlobals.timeLocalName.Value == name) 793else if (DictionaryGlobals.dateLocalName.Value == name) 795else if (DictionaryGlobals.hexBinaryLocalName.Value == name) 797else if (DictionaryGlobals.gYearMonthLocalName.Value == name) 799else if (DictionaryGlobals.gYearLocalName.Value == name) 801else if (DictionaryGlobals.gMonthDayLocalName.Value == name) 803else if (DictionaryGlobals.gDayLocalName.Value == name) 805else if (DictionaryGlobals.gMonthLocalName.Value == name) 807else if (DictionaryGlobals.normalizedStringLocalName.Value == name) 809else if (DictionaryGlobals.tokenLocalName.Value == name) 811else if (DictionaryGlobals.languageLocalName.Value == name) 813else if (DictionaryGlobals.NameLocalName.Value == name) 815else if (DictionaryGlobals.NCNameLocalName.Value == name) 817else if (DictionaryGlobals.XSDIDLocalName.Value == name) 819else if (DictionaryGlobals.IDREFLocalName.Value == name) 821else if (DictionaryGlobals.IDREFSLocalName.Value == name) 823else if (DictionaryGlobals.ENTITYLocalName.Value == name) 825else if (DictionaryGlobals.ENTITIESLocalName.Value == name) 827else if (DictionaryGlobals.NMTOKENLocalName.Value == name) 829else if (DictionaryGlobals.NMTOKENSLocalName.Value == name) 831else if (DictionaryGlobals.ByteArrayLocalName.Value == name) 833else if (DictionaryGlobals.ObjectLocalName.Value == name) 835else if (DictionaryGlobals.TimeSpanLocalName.Value == name) 837else if (DictionaryGlobals.UriLocalName.Value == name) 839else if (DictionaryGlobals.QNameLocalName.Value == name) 842else if (ns == DictionaryGlobals.SerializationNamespace.Value) 844if (DictionaryGlobals.TimeSpanLocalName.Value == name) 846else if (DictionaryGlobals.GuidLocalName.Value == name) 848else if (DictionaryGlobals.CharLocalName.Value == name) 853else if (ns == DictionaryGlobals.AsmxTypesNamespace.Value) 855if (DictionaryGlobals.CharLocalName.Value == name) 857else if (DictionaryGlobals.GuidLocalName.Value == name) 1075XmlName = 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)
365return (jsonName == null) ? false : CheckIfJsonNameRequiresMapping(jsonName.Value); 375return (xmlName == null) ? false : CheckIfXmlNameRequiresMapping(xmlName.Value); 386return (xmlName == null) ? null : new XmlDictionary().Add(ConvertXmlNameToJsonName(xmlName.Value)); 437return IsJsonLocalName(reader, RootName.Value); 548writer.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; 524new 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)
259stringBuilder.Append(memberNames[i].Value); 487throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ArrayExceededSizeAttribute, arraySize, itemName.Value, itemNamespace.Value));
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
356if (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);