/// <summary>
		/// Loads the data for this issuetype from the specified local reader.
		/// </summary>
		/// <param name="localReader">The xml reader which is positioned on the IssueType element.</param>
		internal void Load(XmlReader localReader)
		{
			this.Id = localReader.GetMandatoryAttribute("Id");
			this.Category = localReader.GetMandatoryAttribute("Category");
			this.Description = localReader.GetMandatoryAttribute("Description");
			this.Severity = (SeverityType)Enum.Parse(typeof(SeverityType), localReader.GetMandatoryAttribute("Severity"), ignoreCase: true);
			this.Global = localReader.GetOptionalAttribute("Global", s => XmlConvert.ToBoolean(s.ToLowerInvariant()), false);
			this.WikiUrl = localReader.GetOptionalAttribute("WikiUrl", s => s, string.Empty);
			this.SubCategory = localReader.GetOptionalAttribute("SubCategory", s => s, string.Empty);
		}
		/// <summary>
		/// Loads the issue data referenced by the specified local reader into this issue.
		/// </summary>
		/// <param name="localReader">The local reader.</param>
		internal void Load(XmlReader localReader)
		{
			this.TypeInstance = _containingProject.ContainingReport.GetKnownIssueType(localReader.GetMandatoryAttribute("TypeId"));
			this.File = localReader.GetMandatoryAttribute("File");
			string offsetRange = localReader.GetMandatoryAttribute("Offset");
			var offsetFragments = offsetRange.Split('-');
			this.StartOffset = XmlConvert.ToInt32(offsetFragments[0]);
			this.EndOffset = XmlConvert.ToInt32(offsetFragments[1]);
			this.Line = localReader.GetOptionalAttribute("Line", s=>XmlConvert.ToInt32(s), 1);
			this.Message = localReader.GetMandatoryAttribute("Message");
		}