private void OnDeserialized(StreamingContext ctx)
{
if (this.m_name == null)
{
this.m_cultureId = IdFromEverettRegionInfoDataItem[this.m_dataItem];
}
if (this.m_cultureId == 0)
{
this.m_cultureData = CultureData.GetCultureDataForRegion(this.m_name, true);
}
else
{
this.m_cultureData = CultureData.GetCultureData(this.m_cultureId, true);
}
if (this.m_cultureData == null)
{
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_InvalidCultureName"), new object[] { this.m_name }), "m_name");
}
if (this.m_cultureId == 0)
{
this.SetName(this.m_name);
}
else
{
this.m_name = this.m_cultureData.SREGIONNAME;
}
}