6 instantiations of XmlDataContract
System.Runtime.Serialization (6)
System\Runtime\Serialization\DataContract.cs (4)
586
dataContract = new
XmlDataContract
(type);
872
dataContract = new
XmlDataContract
(type);
993
dataContract = new
XmlDataContract
(typeof(XmlElement));
995
dataContract = new
XmlDataContract
(typeof(XmlNode[]));
System\Runtime\Serialization\SchemaImporter.cs (2)
715
xmlDataContract = new
XmlDataContract
();
763
XmlDataContract xmlDataContract = new
XmlDataContract
(referencedType);
39 references to XmlDataContract
System.Runtime.Serialization (39)
System\Runtime\Serialization\CodeExporter.cs (8)
252
XmlDataContract
xmlDataContract = dataContract as
XmlDataContract
;
288
else if (dataContract is
XmlDataContract
)
289
ExportXmlDataContract((
XmlDataContract
)dataContract, contractCodeDomInfo);
546
if (dataContract is
XmlDataContract
)
550
XmlDataContract
xmlContract = (
XmlDataContract
)dataContract;
1248
private void ExportXmlDataContract(
XmlDataContract
xmlDataContract, ContractCodeDomInfo contractCodeDomInfo)
System\Runtime\Serialization\DataContractSerializer.cs (1)
487
return XmlObjectSerializerReadContext.ReadRootIXmlSerializable(xmlReader, contract as
XmlDataContract
, false /*isMemberType*/);
System\Runtime\Serialization\DataContractSet.cs (3)
154
else if (dataContract is
XmlDataContract
)
156
AddXmlDataContract((
XmlDataContract
)dataContract);
207
void AddXmlDataContract(
XmlDataContract
xmlDataContract)
System\Runtime\Serialization\Json\JsonDataContract.cs (2)
284
else if (traditionalDataContractType == typeof(
XmlDataContract
))
286
dataContract = new JsonXmlDataContract((
XmlDataContract
)traditionalDataContract);
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
14
public JsonXmlDataContract(
XmlDataContract
traditionalXmlDataContract)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
290
if ((contractType == typeof(
XmlDataContract
)) && !Globals.TypeOfIXmlSerializable.IsAssignableFrom(declaredType))
System\Runtime\Serialization\SchemaExporter.cs (5)
89
else if (dataContract is
XmlDataContract
)
90
ExportXmlDataContract((
XmlDataContract
)dataContract);
192
XmlDataContract
xmlDataContract = dataContract as
XmlDataContract
;
498
void ExportXmlDataContract(
XmlDataContract
dataContract)
System\Runtime\Serialization\SchemaImporter.cs (8)
362
XmlDataContract
xmlDataContract = contract as
XmlDataContract
;
519
XmlDataContract
specialContract = ImportSpecialXmlDataType(type, isAnonymous);
711
XmlDataContract
xmlDataContract = ImportSpecialXmlDataType(xsdType, isAnonymous);
748
private
XmlDataContract
ImportSpecialXmlDataType(XmlSchemaType xsdType, bool isAnonymous)
763
XmlDataContract
xmlDataContract = new XmlDataContract(referencedType);
768
return (
XmlDataContract
)DataContract.GetBuiltInDataContract(Globals.TypeOfXmlElement);
771
return (
XmlDataContract
)DataContract.GetBuiltInDataContract(Globals.TypeOfXmlNodeArray);
System\Runtime\Serialization\XmlDataContract.cs (2)
409
XmlDataContract
dataContract = other as
XmlDataContract
;
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (4)
521
internal object ReadIXmlSerializable(XmlReaderDelegator xmlReader,
XmlDataContract
xmlDataContract, bool isMemberType)
528
internal static object ReadRootIXmlSerializable(XmlReaderDelegator xmlReader,
XmlDataContract
xmlDataContract, bool isMemberType)
533
internal static object ReadIXmlSerializable(XmlSerializableReader xmlSerializableReader, XmlReaderDelegator xmlReader,
XmlDataContract
xmlDataContract, bool isMemberType)
672
else if (dataContract is
XmlDataContract
)
System\Runtime\Serialization\XsdDataContractExporter.cs (4)
195
XmlDataContract
xmlDataContract = dataContract as
XmlDataContract
;
208
XmlDataContract
xmlDataContract = dataContract as
XmlDataContract
;