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