8 references to TypeOfDataContractAttribute
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\ClassDataContract.cs (1)
339
if (type.IsDefined(Globals.
TypeOfDataContractAttribute
, false))
System\Runtime\Serialization\CollectionDataContract.cs (2)
917
if (type.IsSerializable || type.IsDefined(Globals.
TypeOfDataContractAttribute
, false))
1032
if (type.IsDefined(Globals.
TypeOfDataContractAttribute
, false))
System\Runtime\Serialization\DataContract.cs (3)
475
if (!type.IsSerializable && !type.IsDefined(Globals.
TypeOfDataContractAttribute
, false) && !ClassDataContract.IsNonAttributedTypeValidForSerialization(type))
1101
type.IsDefined(Globals.
TypeOfDataContractAttribute
, false) ||
1342
object[] dataContractAttributes = type.GetCustomAttributes(Globals.
TypeOfDataContractAttribute
, false).ToArray();
System\Runtime\Serialization\DataContractSet.cs (1)
416
type.IsDefined(Globals.
TypeOfDataContractAttribute
, false) ||
System\Runtime\Serialization\XmlDataContract.cs (1)
140
if (type.IsDefined(Globals.
TypeOfDataContractAttribute
, false))