4 writes to _headerTypes
System.ServiceModel.Primitives (4)
System\ServiceModel\Security\MessagePartSpecification.cs (4)
25_headerTypes = new List<XmlQualifiedName>(); 111_headerTypes = new List<XmlQualifiedName>(headerTypes.Count); 156_headerTypes = noDuplicates; 183_headerTypes = new List<XmlQualifiedName>(headerTypes.Length);
20 references to _headerTypes
System.ServiceModel.Primitives (20)
System\ServiceModel\Security\MessagePartSpecification.cs (20)
23if (_headerTypes == null) 30return new ReadOnlyCollection<XmlQualifiedName>(_headerTypes); 34return _headerTypes; 41get { return _headerTypes != null && _headerTypes.Count > 0; } 84if (_headerTypes != null) 86_headerTypes.Clear(); 106List<XmlQualifiedName> headerTypes = specification._headerTypes; 109if (_headerTypes == null) 117_headerTypes.Add(qname); 129if (_headerTypes != null) 131List<XmlQualifiedName> noDuplicates = new List<XmlQualifiedName>(_headerTypes.Count); 132for (int i = 0; i < _headerTypes.Count; i++) 134XmlQualifiedName qname = _headerTypes[i]; 186_headerTypes.Add(headerTypes[i]); 213if (_headerTypes != null) 215for (int i = 0; i < _headerTypes.Count; i++) 217XmlQualifiedName qname = _headerTypes[i]; 241if (_headerTypes != null && _headerTypes.Count > 0)