11 references to IsAttributeDefined
dotnet-svcutil-lib (11)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (2)
425if (type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfCollectionDataContractAttribute)) 440if (type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute))
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (4)
887if (type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfCollectionDataContractAttribute)) 891if (type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute)) 1009if (type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute)) 1191return type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfCollectionDataContractAttribute);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (2)
715if (!IsTypeSerializable(type) && !type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute) && !ClassDataContract.IsNonAttributedTypeValidForSerialization(type) && !ClassDataContract.IsKnownSerializableType(type)) 1291type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute) ||
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (1)
503typeInfo.IsAttributeDefined(Globals.TypeOfDataContractAttribute) ||
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlDataContract.cs (2)
234if (type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute)) 236if (type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfCollectionDataContractAttribute))