13 references to TypeOfDataContractAttribute
System.Runtime.Serialization (13)
System\Runtime\Serialization\ClassDataContract.cs (1)
392if (type.IsDefined(Globals.TypeOfDataContractAttribute, false))
System\Runtime\Serialization\CodeExporter.cs (4)
822CodeAttributeDeclaration dataContractAttribute = new CodeAttributeDeclaration(DataContract.GetClrTypeFullName(Globals.TypeOfDataContractAttribute)); 828AddImportStatement(Globals.TypeOfDataContractAttribute.Namespace, contractCodeDomInfo.CodeNamespace); 1091CodeAttributeDeclaration dataContractAttribute = new CodeAttributeDeclaration(DataContract.GetClrTypeFullName(Globals.TypeOfDataContractAttribute)); 1095AddImportStatement(Globals.TypeOfDataContractAttribute.Namespace, contractCodeDomInfo.CodeNamespace);
System\Runtime\Serialization\CollectionDataContract.cs (2)
827if (type.IsSerializable || type.IsDefined(Globals.TypeOfDataContractAttribute, false)) 927if (type.IsDefined(Globals.TypeOfDataContractAttribute, false))
System\Runtime\Serialization\DataContract.cs (4)
596if (type.IsSerializable || type.IsDefined(Globals.TypeOfDataContractAttribute, false) || ClassDataContract.IsNonAttributedTypeValidForSerialization(type)) 1142if (classType.IsSerializable || classType.IsDefined(Globals.TypeOfDataContractAttribute, false)) 1284type.IsDefined(Globals.TypeOfDataContractAttribute, false) || 1537object[] dataContractAttributes = type.GetCustomAttributes(Globals.TypeOfDataContractAttribute, false);
System\Runtime\Serialization\DataContractSet.cs (1)
505type.IsDefined(Globals.TypeOfDataContractAttribute, false) ||
System\Runtime\Serialization\XmlDataContract.cs (1)
197if (type.IsDefined(Globals.TypeOfDataContractAttribute, false))