internal static FaultException.FaultReasonData[] GetObjectData(FaultReason reason)
            {
                SynchronizedReadOnlyCollection <FaultReasonText> translations = reason.Translations;

                FaultException.FaultReasonData[] dataArray = new FaultException.FaultReasonData[translations.Count];
                for (int i = 0; i < translations.Count; i++)
                {
                    dataArray[i]         = new FaultException.FaultReasonData();
                    dataArray[i].xmlLang = translations[i].XmlLang;
                    dataArray[i].text    = translations[i].Text;
                }
                return(dataArray);
            }
 internal static FaultException.FaultReasonData[] GetObjectData(FaultReason reason)
 {
     SynchronizedReadOnlyCollection<FaultReasonText> translations = reason.Translations;
     FaultException.FaultReasonData[] dataArray = new FaultException.FaultReasonData[translations.Count];
     for (int i = 0; i < translations.Count; i++)
     {
         dataArray[i] = new FaultException.FaultReasonData();
         dataArray[i].xmlLang = translations[i].XmlLang;
         dataArray[i].text = translations[i].Text;
     }
     return dataArray;
 }