29 references to SerializationNamespace
dotnet-svcutil-lib (29)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (3)
1770
return (ns == Globals.SchemaNamespace || ns == Globals.
SerializationNamespace
);
1804
if (uri.ToString() == Globals.
SerializationNamespace
)
1805
ThrowInvalidDataContractException(string.Format(SRSerialization.DataContractNamespaceReserved, Globals.
SerializationNamespace
), type);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DictionaryGlobals.cs (1)
74
SerializationNamespace = dictionary.Add(Globals.
SerializationNamespace
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExtensionDataObject.cs (2)
187
element.AddAttribute(Globals.SerPrefix, Globals.
SerializationNamespace
, Globals.ClrTypeLocalName, ClrTypeName);
189
element.AddAttribute(Globals.SerPrefix, Globals.
SerializationNamespace
, Globals.ClrAssemblyLocalName, ClrAssemblyName);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExtensionDataReader.cs (1)
60
AddPrefix(Globals.SerPrefix, Globals.
SerializationNamespace
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (2)
41
s_idQualifiedName = new XmlQualifiedName(Globals.IdLocalName, Globals.
SerializationNamespace
);
54
s_refQualifiedName = new XmlQualifiedName(Globals.RefLocalName, Globals.
SerializationNamespace
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (7)
217
s_enumerationValueAnnotationName = new XmlQualifiedName(Globals.EnumerationValueLocalName, Globals.
SerializationNamespace
);
234
s_surrogateDataAnnotationName = new XmlQualifiedName(Globals.SurrogateDataLocalName, Globals.
SerializationNamespace
);
251
s_defaultValueAnnotation = new XmlQualifiedName(Globals.DefaultValueLocalName, Globals.
SerializationNamespace
);
268
s_actualTypeAnnotationName = new XmlQualifiedName(Globals.ActualTypeLocalName, Globals.
SerializationNamespace
);
285
s_isDictionaryAnnotationName = new XmlQualifiedName(Globals.IsDictionaryLocalName, Globals.
SerializationNamespace
);
302
s_isValueTypeName = new XmlQualifiedName(Globals.IsValueTypeLocalName, Globals.
SerializationNamespace
);
314
iSerializableFactoryTypeAttribute.RefName = new XmlQualifiedName(Globals.ISerializableFactoryTypeLocalName, Globals.
SerializationNamespace
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (9)
50
if (!_schemaSet.Contains(Globals.
SerializationNamespace
))
55
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.CouldNotReadSerializationSchema, Globals.
SerializationNamespace
)));
82
if (schema.TargetNamespace != Globals.
SerializationNamespace
250
if (schema.TargetNamespace != Globals.
SerializationNamespace
)
605
element.RefName.Namespace == Globals.
SerializationNamespace
&&
1280
if (typeElement != null && typeElement.NamespaceURI == Globals.
SerializationNamespace
)
1311
argumentElement.NamespaceURI != Globals.
SerializationNamespace
)
1394
if (attribute.RefName.IsEmpty || attribute.RefName.Namespace != Globals.
SerializationNamespace
|| attribute.Use == XmlSchemaUse.Required)
1395
ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.TypeShouldNotContainAttributes, Globals.
SerializationNamespace
));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (3)
110
throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, string.Format(SRSerialization.AttributeNotFound, Globals.
SerializationNamespace
, Globals.ClrTypeLocalName, xmlReader.NodeType, xmlReader.NamespaceURI, xmlReader.LocalName)));
112
throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, string.Format(SRSerialization.AttributeNotFound, Globals.
SerializationNamespace
, Globals.ClrAssemblyLocalName, xmlReader.NodeType, xmlReader.NamespaceURI, xmlReader.LocalName)));
114
throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, string.Format(SRSerialization.AttributeNotFound, Globals.
SerializationNamespace
, Globals.ClrTypeLocalName, xmlReader.NodeType, xmlReader.NamespaceURI, xmlReader.LocalName)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlSerializableServices.cs (1)
52
return xmlReader.NamespaceURI != Globals.
SerializationNamespace
&&