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