14 references to CollectionDataContractAttribute
netstandard (1)
netstandard.cs (1)
1747[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.CollectionDataContractAttribute))]
System.Private.DataContractSerialization (10)
System\Runtime\Serialization\ClassDataContract.cs (1)
320if (type.IsDefined(typeof(CollectionDataContractAttribute), false))
System\Runtime\Serialization\CollectionDataContract.cs (4)
445private void Init(CollectionKind kind, Type? itemType, CollectionDataContractAttribute? collectionContractAttribute) 553CollectionDataContractAttribute? collectionContractAttribute; 913if (type.IsDefined(typeof(CollectionDataContractAttribute), false)) 1251return type.IsDefined(typeof(CollectionDataContractAttribute), false);
System\Runtime\Serialization\DataContract.cs (4)
1383internal static XmlQualifiedName GetCollectionXmlName(Type type, Type itemType, out CollectionDataContractAttribute? collectionContractAttribute) 1390internal static XmlQualifiedName GetCollectionXmlName(Type type, Type itemType, HashSet<Type> previousCollectionTypes, out CollectionDataContractAttribute? collectionContractAttribute) 1393object[] collectionContractAttributes = type.GetCustomAttributes(typeof(CollectionDataContractAttribute), false).ToArray(); 1400collectionContractAttribute = (CollectionDataContractAttribute)collectionContractAttributes[0];
System\Runtime\Serialization\XmlDataContract.cs (1)
142if (type.IsDefined(typeof(CollectionDataContractAttribute), false))
System.Runtime.Serialization (1)
System.Runtime.Serialization.cs (1)
4[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.CollectionDataContractAttribute))]
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\CodeExporter.cs (2)
1260CodeAttributeDeclaration collectionContractAttribute = new CodeAttributeDeclaration(GetClrTypeFullName(typeof(CollectionDataContractAttribute))); 1276AddImportStatement(typeof(CollectionDataContractAttribute).Namespace, contractCodeDomInfo.CodeNamespace);