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