12 references to TypeOfDataContractAttribute
dotnet-svcutil-lib (12)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (1)
440if (type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute))
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (4)
815CodeAttributeDeclaration dataContractAttribute = new CodeAttributeDeclaration(DataContract.GetClrTypeFullName(Globals.TypeOfDataContractAttribute)); 821AddImportStatement(Globals.TypeOfDataContractAttribute.Namespace, contractCodeDomInfo.CodeNamespace); 1074CodeAttributeDeclaration dataContractAttribute = new CodeAttributeDeclaration(DataContract.GetClrTypeFullName(Globals.TypeOfDataContractAttribute)); 1078AddImportStatement(Globals.TypeOfDataContractAttribute.Namespace, contractCodeDomInfo.CodeNamespace);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (2)
891if (type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute)) 1009if (type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute))
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (3)
715if (!IsTypeSerializable(type) && !type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute) && !ClassDataContract.IsNonAttributedTypeValidForSerialization(type) && !ClassDataContract.IsKnownSerializableType(type)) 1291type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute) || 1538.Where(a => a.AttributeType.FullName == Globals.TypeOfDataContractAttribute.FullName)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (1)
503typeInfo.IsAttributeDefined(Globals.TypeOfDataContractAttribute) ||
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlDataContract.cs (1)
234if (type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute))