17 references to TypeOfIXmlSerializable
System.Runtime.Serialization (17)
System\Runtime\Serialization\ClassDataContract.cs (2)
344
if (!childType.IsEnum && !Globals.
TypeOfIXmlSerializable
.IsAssignableFrom(childType)
370
if (Globals.
TypeOfIXmlSerializable
.IsAssignableFrom(type))
System\Runtime\Serialization\CodeExporter.cs (6)
548
if (Globals.
TypeOfIXmlSerializable
.IsAssignableFrom(type))
563
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.TypeMustBeIXmlSerializable, DataContract.GetClrTypeFullName(type), DataContract.GetClrTypeFullName(Globals.
TypeOfIXmlSerializable
), dataContract.StableName.Name, dataContract.StableName.Namespace)));
1266
type.BaseTypes.Add(DataContract.GetClrTypeFullName(Globals.
TypeOfIXmlSerializable
));
1671
readXmlMethod.ImplementationTypes.Add(Globals.
TypeOfIXmlSerializable
);
1692
writeXmlMethod.ImplementationTypes.Add(Globals.
TypeOfIXmlSerializable
);
1712
getSchemaMethod.ImplementationTypes.Add(Globals.
TypeOfIXmlSerializable
);
System\Runtime\Serialization\CollectionDataContract.cs (1)
933
if (Globals.
TypeOfIXmlSerializable
.IsAssignableFrom(type) || IsArraySegment(type))
System\Runtime\Serialization\DataContract.cs (3)
585
else if (Globals.
TypeOfIXmlSerializable
.IsAssignableFrom(type))
1287
Globals.
TypeOfIXmlSerializable
.IsAssignableFrom(type))
1512
else if (Globals.
TypeOfIXmlSerializable
.IsAssignableFrom(type))
System\Runtime\Serialization\DataContractSet.cs (1)
506
(Globals.
TypeOfIXmlSerializable
.IsAssignableFrom(type) && !type.IsGenericTypeDefinition) ||
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
290
if ((contractType == typeof(XmlDataContract)) && !Globals.
TypeOfIXmlSerializable
.IsAssignableFrom(declaredType))
System\Runtime\Serialization\SchemaImporter.cs (2)
513
if (Globals.
TypeOfIXmlSerializable
.IsAssignableFrom(referencedType))
761
&& Globals.
TypeOfIXmlSerializable
.IsAssignableFrom(referencedType))
System\Runtime\Serialization\XmlDataContract.cs (1)
369
ilg.ConvertValue(this.UnderlyingType, Globals.
TypeOfIXmlSerializable
);