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