3 writes to XmlLang
System.ServiceModel.Primitives (3)
System\ServiceModel\FaultReasonText.cs (3)
17XmlLang = CultureInfo.CurrentCulture.Name; 23XmlLang = xmlLang ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(xmlLang))); 34XmlLang = cultureInfo.Name;
7 references to XmlLang
System.ServiceModel.Primitives (6)
System\ServiceModel\Channels\MessageFault.cs (3)
339writer.WriteAttributeString("xml", "lang", XmlUtil.XmlNs, text.XmlLang); 455if (translation.XmlLang.Length > 0) 457writer.WriteAttributeString("xml", "lang", XmlUtil.XmlNs, translation.XmlLang);
System\ServiceModel\FaultException.cs (1)
346array[i].xmlLang = translations[i].XmlLang;
System\ServiceModel\FaultReason.cs (1)
130if (Translations[i].XmlLang == localLang)
System\ServiceModel\FaultReasonText.cs (1)
44return XmlLang == cultureInfo.Name;
System.ServiceModel.Primitives.Tests (1)
ServiceModel\FaultExceptionTest.cs (1)
84Assert.Equal(CultureInfo.CurrentCulture.Name, faultReasonText.XmlLang);