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))
1034
if (type.IsDefined(Globals.
TypeOfDataContractAttribute
, false))
System\Runtime\Serialization\DataContract.cs (3)
492
if (!type.IsSerializable && !type.IsDefined(Globals.
TypeOfDataContractAttribute
, false) && !ClassDataContract.IsNonAttributedTypeValidForSerialization(type))
1118
type.IsDefined(Globals.
TypeOfDataContractAttribute
, false) ||
1359
object[] dataContractAttributes = type.GetCustomAttributes(Globals.
TypeOfDataContractAttribute
, false).ToArray();
System\Runtime\Serialization\DataContractSet.cs (1)
415
type.IsDefined(Globals.
TypeOfDataContractAttribute
, false) ||
System\Runtime\Serialization\XmlDataContract.cs (1)
140
if (type.IsDefined(Globals.
TypeOfDataContractAttribute
, false))