4 writes to headerTypes
System.ServiceModel (4)
System\ServiceModel\Security\MessagePartSpecification.cs (4)
27headerTypes = new List<XmlQualifiedName>(); 107this.headerTypes = new List<XmlQualifiedName>(headerTypes.Count); 148this.headerTypes = noDuplicates; 175this.headerTypes = new List<XmlQualifiedName>(headerTypes.Length);
20 references to headerTypes
System.ServiceModel (20)
System\ServiceModel\Security\MessagePartSpecification.cs (20)
25if (headerTypes == null) 32return new ReadOnlyCollection<XmlQualifiedName>(headerTypes); 36return headerTypes; 43get { return this.headerTypes != null && this.headerTypes.Count > 0; } 88if (this.headerTypes != null) 89this.headerTypes.Clear(); 102List<XmlQualifiedName> headerTypes = specification.headerTypes; 105if (this.headerTypes == null) 113this.headerTypes.Add(qname); 123if (this.headerTypes != null) 125List<XmlQualifiedName> noDuplicates = new List<XmlQualifiedName>(headerTypes.Count); 126for (int i = 0; i < headerTypes.Count; i++) 128XmlQualifiedName qname = headerTypes[i]; 178this.headerTypes.Add(headerTypes[i]); 198if (this.headerTypes != null) 200for (int i = 0; i < this.headerTypes.Count; i++) 202XmlQualifiedName qname = this.headerTypes[i]; 226if (this.headerTypes != null && this.headerTypes.Count > 0)