201 references to DictionaryGlobals
System.Runtime.Serialization (201)
System\Runtime\Serialization\Attributes.cs (11)
30DictionaryGlobals.IdLocalName, 31DictionaryGlobals.ArraySizeLocalName, 32DictionaryGlobals.RefLocalName, 33DictionaryGlobals.ClrTypeLocalName, 34DictionaryGlobals.ClrAssemblyLocalName, 35DictionaryGlobals.ISerializableFactoryTypeLocalName 40DictionaryGlobals.XsiNilLocalName, 41DictionaryGlobals.XsiTypeLocalName 66switch (reader.IndexOfLocalName(serializationLocalNames, DictionaryGlobals.SerializationNamespace)) 87switch (reader.IndexOfLocalName(schemaInstanceLocalNames, DictionaryGlobals.SchemaInstanceNamespace)) 96if (!reader.IsNamespaceUri(DictionaryGlobals.XmlnsNamespace))
System\Runtime\Serialization\DataContract.cs (56)
355if (object.ReferenceEquals(ns, DictionaryGlobals.SerializationNamespace) && !IsPrimitive) 867dataContract = new SpecialTypeDataContract(type, DictionaryGlobals.ObjectLocalName, DictionaryGlobals.SchemaNamespace); 881if (ns == DictionaryGlobals.SchemaNamespace.Value) 883if (DictionaryGlobals.BooleanLocalName.Value == name) 885else if (DictionaryGlobals.SignedByteLocalName.Value == name) 887else if (DictionaryGlobals.UnsignedByteLocalName.Value == name) 889else if (DictionaryGlobals.ShortLocalName.Value == name) 891else if (DictionaryGlobals.UnsignedShortLocalName.Value == name) 893else if (DictionaryGlobals.IntLocalName.Value == name) 895else if (DictionaryGlobals.UnsignedIntLocalName.Value == name) 897else if (DictionaryGlobals.LongLocalName.Value == name) 899else if (DictionaryGlobals.integerLocalName.Value == name) 901else if (DictionaryGlobals.positiveIntegerLocalName.Value == name) 903else if (DictionaryGlobals.negativeIntegerLocalName.Value == name) 905else if (DictionaryGlobals.nonPositiveIntegerLocalName.Value == name) 907else if (DictionaryGlobals.nonNegativeIntegerLocalName.Value == name) 909else if (DictionaryGlobals.UnsignedLongLocalName.Value == name) 911else if (DictionaryGlobals.FloatLocalName.Value == name) 913else if (DictionaryGlobals.DoubleLocalName.Value == name) 915else if (DictionaryGlobals.DecimalLocalName.Value == name) 917else if (DictionaryGlobals.DateTimeLocalName.Value == name) 919else if (DictionaryGlobals.StringLocalName.Value == name) 921else if (DictionaryGlobals.timeLocalName.Value == name) 923else if (DictionaryGlobals.dateLocalName.Value == name) 925else if (DictionaryGlobals.hexBinaryLocalName.Value == name) 927else if (DictionaryGlobals.gYearMonthLocalName.Value == name) 929else if (DictionaryGlobals.gYearLocalName.Value == name) 931else if (DictionaryGlobals.gMonthDayLocalName.Value == name) 933else if (DictionaryGlobals.gDayLocalName.Value == name) 935else if (DictionaryGlobals.gMonthLocalName.Value == name) 937else if (DictionaryGlobals.normalizedStringLocalName.Value == name) 939else if (DictionaryGlobals.tokenLocalName.Value == name) 941else if (DictionaryGlobals.languageLocalName.Value == name) 943else if (DictionaryGlobals.NameLocalName.Value == name) 945else if (DictionaryGlobals.NCNameLocalName.Value == name) 947else if (DictionaryGlobals.XSDIDLocalName.Value == name) 949else if (DictionaryGlobals.IDREFLocalName.Value == name) 951else if (DictionaryGlobals.IDREFSLocalName.Value == name) 953else if (DictionaryGlobals.ENTITYLocalName.Value == name) 955else if (DictionaryGlobals.ENTITIESLocalName.Value == name) 957else if (DictionaryGlobals.NMTOKENLocalName.Value == name) 959else if (DictionaryGlobals.NMTOKENSLocalName.Value == name) 961else if (DictionaryGlobals.ByteArrayLocalName.Value == name) 963else if (DictionaryGlobals.ObjectLocalName.Value == name) 965else if (DictionaryGlobals.TimeSpanLocalName.Value == name) 967else if (DictionaryGlobals.UriLocalName.Value == name) 969else if (DictionaryGlobals.QNameLocalName.Value == name) 972else if (ns == DictionaryGlobals.SerializationNamespace.Value) 974if (DictionaryGlobals.TimeSpanLocalName.Value == name) 976else if (DictionaryGlobals.GuidLocalName.Value == name) 978else if (DictionaryGlobals.CharLocalName.Value == name) 983else if (ns == DictionaryGlobals.AsmxTypesNamespace.Value) 985if (DictionaryGlobals.CharLocalName.Value == name) 987else if (DictionaryGlobals.GuidLocalName.Value == name) 1248if (object.ReferenceEquals(ns, DictionaryGlobals.SerializationNamespace) && !IsPrimitive)
System\Runtime\Serialization\EnumDataContract.cs (1)
364writer.WriteString(DictionaryGlobals.Space.Value);
System\Runtime\Serialization\NetDataContractSerializer.cs (4)
379writer.WriteAttributeString(Globals.SerPrefix, DictionaryGlobals.ClrTypeLocalName, DictionaryGlobals.SerializationNamespace, DataContract.GetClrTypeString(clrTypeName)); 381writer.WriteAttributeString(Globals.SerPrefix, DictionaryGlobals.ClrAssemblyLocalName, DictionaryGlobals.SerializationNamespace, DataContract.GetClrTypeString(clrAssemblyName));
System\Runtime\Serialization\PrimitiveDataContract.cs (100)
49get { return DictionaryGlobals.SerializationNamespace; } 198: this(DictionaryGlobals.CharLocalName, DictionaryGlobals.SerializationNamespace) 224internal AsmxCharDataContract() : base(DictionaryGlobals.CharLocalName, DictionaryGlobals.AsmxTypesNamespace) { } 230: base(typeof(bool), DictionaryGlobals.BooleanLocalName, DictionaryGlobals.SchemaNamespace) 252: base(typeof(sbyte), DictionaryGlobals.SignedByteLocalName, DictionaryGlobals.SchemaNamespace) 274: base(typeof(byte), DictionaryGlobals.UnsignedByteLocalName, DictionaryGlobals.SchemaNamespace) 296: base(typeof(short), DictionaryGlobals.ShortLocalName, DictionaryGlobals.SchemaNamespace) 318: base(typeof(ushort), DictionaryGlobals.UnsignedShortLocalName, DictionaryGlobals.SchemaNamespace) 340: base(typeof(int), DictionaryGlobals.IntLocalName, DictionaryGlobals.SchemaNamespace) 362: base(typeof(uint), DictionaryGlobals.UnsignedIntLocalName, DictionaryGlobals.SchemaNamespace) 384: this(DictionaryGlobals.LongLocalName, DictionaryGlobals.SchemaNamespace) 409internal IntegerDataContract() : base(DictionaryGlobals.integerLocalName, DictionaryGlobals.SchemaNamespace) { } 413internal PositiveIntegerDataContract() : base(DictionaryGlobals.positiveIntegerLocalName, DictionaryGlobals.SchemaNamespace) { } 417internal NegativeIntegerDataContract() : base(DictionaryGlobals.negativeIntegerLocalName, DictionaryGlobals.SchemaNamespace) { } 421internal NonPositiveIntegerDataContract() : base(DictionaryGlobals.nonPositiveIntegerLocalName, DictionaryGlobals.SchemaNamespace) { } 425internal NonNegativeIntegerDataContract() : base(DictionaryGlobals.nonNegativeIntegerLocalName, DictionaryGlobals.SchemaNamespace) { } 431: base(typeof(ulong), DictionaryGlobals.UnsignedLongLocalName, DictionaryGlobals.SchemaNamespace) 453: base(typeof(float), DictionaryGlobals.FloatLocalName, DictionaryGlobals.SchemaNamespace) 475: base(typeof(double), DictionaryGlobals.DoubleLocalName, DictionaryGlobals.SchemaNamespace) 497: base(typeof(decimal), DictionaryGlobals.DecimalLocalName, DictionaryGlobals.SchemaNamespace) 519: base(typeof(DateTime), DictionaryGlobals.DateTimeLocalName, DictionaryGlobals.SchemaNamespace) 541: this(DictionaryGlobals.StringLocalName, DictionaryGlobals.SchemaNamespace) 572internal TimeDataContract() : base(DictionaryGlobals.timeLocalName, DictionaryGlobals.SchemaNamespace) { } 576internal DateDataContract() : base(DictionaryGlobals.dateLocalName, DictionaryGlobals.SchemaNamespace) { } 580internal HexBinaryDataContract() : base(DictionaryGlobals.hexBinaryLocalName, DictionaryGlobals.SchemaNamespace) { } 584internal GYearMonthDataContract() : base(DictionaryGlobals.gYearMonthLocalName, DictionaryGlobals.SchemaNamespace) { } 588internal GYearDataContract() : base(DictionaryGlobals.gYearLocalName, DictionaryGlobals.SchemaNamespace) { } 592internal GMonthDayDataContract() : base(DictionaryGlobals.gMonthDayLocalName, DictionaryGlobals.SchemaNamespace) { } 596internal GDayDataContract() : base(DictionaryGlobals.gDayLocalName, DictionaryGlobals.SchemaNamespace) { } 600internal GMonthDataContract() : base(DictionaryGlobals.gMonthLocalName, DictionaryGlobals.SchemaNamespace) { } 604internal NormalizedStringDataContract() : base(DictionaryGlobals.normalizedStringLocalName, DictionaryGlobals.SchemaNamespace) { } 608internal TokenDataContract() : base(DictionaryGlobals.tokenLocalName, DictionaryGlobals.SchemaNamespace) { } 612internal LanguageDataContract() : base(DictionaryGlobals.languageLocalName, DictionaryGlobals.SchemaNamespace) { } 616internal NameDataContract() : base(DictionaryGlobals.NameLocalName, DictionaryGlobals.SchemaNamespace) { } 620internal NCNameDataContract() : base(DictionaryGlobals.NCNameLocalName, DictionaryGlobals.SchemaNamespace) { } 624internal IDDataContract() : base(DictionaryGlobals.XSDIDLocalName, DictionaryGlobals.SchemaNamespace) { } 628internal IDREFDataContract() : base(DictionaryGlobals.IDREFLocalName, DictionaryGlobals.SchemaNamespace) { } 632internal IDREFSDataContract() : base(DictionaryGlobals.IDREFSLocalName, DictionaryGlobals.SchemaNamespace) { } 636internal ENTITYDataContract() : base(DictionaryGlobals.ENTITYLocalName, DictionaryGlobals.SchemaNamespace) { } 640internal ENTITIESDataContract() : base(DictionaryGlobals.ENTITIESLocalName, DictionaryGlobals.SchemaNamespace) { } 644internal NMTOKENDataContract() : base(DictionaryGlobals.NMTOKENLocalName, DictionaryGlobals.SchemaNamespace) { } 648internal NMTOKENSDataContract() : base(DictionaryGlobals.NMTOKENSLocalName, DictionaryGlobals.SchemaNamespace) { } 654: base(typeof(byte[]), DictionaryGlobals.ByteArrayLocalName, DictionaryGlobals.SchemaNamespace) 682: base(typeof(object), DictionaryGlobals.ObjectLocalName, DictionaryGlobals.SchemaNamespace) 735: this(DictionaryGlobals.TimeSpanLocalName, DictionaryGlobals.SerializationNamespace) 761internal XsDurationDataContract() : base(DictionaryGlobals.TimeSpanLocalName, DictionaryGlobals.SchemaNamespace) { } 767: this(DictionaryGlobals.GuidLocalName, DictionaryGlobals.SerializationNamespace) 793internal AsmxGuidDataContract() : base(DictionaryGlobals.GuidLocalName, DictionaryGlobals.AsmxTypesNamespace) { } 799: base(typeof(Uri), DictionaryGlobals.UriLocalName, DictionaryGlobals.SchemaNamespace) 827: base(typeof(XmlQualifiedName), DictionaryGlobals.QNameLocalName, DictionaryGlobals.SchemaNamespace) 858if (object.ReferenceEquals(ns, DictionaryGlobals.SerializationNamespace))
System\Runtime\Serialization\XmlDataContract.cs (2)
217topLevelElementNamespace = (this.StableName.Namespace == Globals.SchemaNamespace) ? DictionaryGlobals.EmptyString : Namespace; 230topLevelElementNamespace = (elementNs == null || elementNs.Length == 0) ? DictionaryGlobals.EmptyString : dictionary.Add(elementNs);
System\Runtime\Serialization\XmlObjectSerializer.cs (2)
234writer.WriteAttributeBool(Globals.XsiPrefix, DictionaryGlobals.XsiNilLocalName, DictionaryGlobals.SchemaInstanceNamespace, true);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (17)
239xmlWriter.WriteAttributeString(Globals.SerPrefix, DictionaryGlobals.IdLocalName, 240DictionaryGlobals.SerializationNamespace, string.Format(CultureInfo.InvariantCulture, "{0}{1}", "i", objectId)); 245xmlWriter.WriteAttributeString(Globals.SerPrefix, DictionaryGlobals.RefLocalName, DictionaryGlobals.SerializationNamespace, string.Format(CultureInfo.InvariantCulture, "{0}{1}", "i", objectId)); 363writer.WriteXmlnsAttribute(Globals.XsiPrefix, DictionaryGlobals.SchemaInstanceNamespace); 365writer.WriteXmlnsAttribute(Globals.XsdPrefix, DictionaryGlobals.SchemaNamespace); 526xmlWriter.WriteAttributeQualifiedName(Globals.SerPrefix, DictionaryGlobals.ISerializableFactoryTypeLocalName, DictionaryGlobals.SerializationNamespace, typeName, typeNs); 533xmlWriter.WriteAttributeQualifiedName(Globals.SerPrefix, DictionaryGlobals.ISerializableFactoryTypeLocalName, DictionaryGlobals.SerializationNamespace, DataContract.GetClrTypeString(typeName), DataContract.GetClrTypeString(typeNs)); 542xmlWriter.WriteStartElement(name, DictionaryGlobals.EmptyString); 684xmlWriter.WriteAttributeQualifiedName(Globals.SerPrefix, DictionaryGlobals.ISerializableFactoryTypeLocalName, DictionaryGlobals.SerializationNamespace, dataNode.FactoryTypeName, dataNode.FactoryTypeNamespace); 784writer.WriteAttributeQualifiedName(Globals.XsiPrefix, DictionaryGlobals.XsiTypeLocalName, DictionaryGlobals.SchemaInstanceNamespace, dataContractName, dataContractNamespace); 789writer.WriteAttributeQualifiedName(Globals.XsiPrefix, DictionaryGlobals.XsiTypeLocalName, DictionaryGlobals.SchemaInstanceNamespace, dataContractName, dataContractNamespace);
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (8)
256xmlWriter.WriteAttributeInt(Globals.SerPrefix, DictionaryGlobals.IdLocalName, DictionaryGlobals.SerializationNamespace, objectId); 259xmlWriter.WriteAttributeInt(Globals.SerPrefix, DictionaryGlobals.RefLocalName, DictionaryGlobals.SerializationNamespace, objectId); 260xmlWriter.WriteAttributeBool(Globals.XsiPrefix, DictionaryGlobals.XsiNilLocalName, DictionaryGlobals.SchemaInstanceNamespace, true); 376xmlWriter.WriteAttributeInt(Globals.SerPrefix, DictionaryGlobals.ArraySizeLocalName, DictionaryGlobals.SerializationNamespace, size);