public override void UpdateProps()
{
base.SetPropertyString("fileRef", this.fileRef);
PBXElementDict dict = null;
if (base.m_Properties.Contains("settings"))
{
dict = base.m_Properties["settings"].AsDict();
}
if ((this.compileFlags != null) && (this.compileFlags != ""))
{
if (dict == null)
{
dict = base.m_Properties.CreateDict("settings");
}
dict.SetString("COMPILER_FLAGS", this.compileFlags);
}
else if (dict != null)
{
dict.Remove("COMPILER_FLAGS");
}
if (this.weak)
{
if (dict == null)
{
dict = base.m_Properties.CreateDict("settings");
}
PBXElementArray array = null;
if (dict.Contains("ATTRIBUTES"))
{
array = dict["ATTRIBUTES"].AsArray();
}
else
{
array = dict.CreateArray("ATTRIBUTES");
}
bool flag = false;
foreach (PBXElement element in array.values)
{
if ((element is PBXElementString) && (element.AsString() == "Weak"))
{
flag = true;
}
}
if (!flag)
{
array.AddString("Weak");
}
}
else if ((dict != null) && dict.Contains("ATTRIBUTES"))
{
PBXElementArray array2 = dict["ATTRIBUTES"].AsArray();
if (< > f__am$cache0 == null)
{