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