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