public static PhpReference GetObjectPropertyRef(DObject/*!*/ obj, string name, DTypeDesc caller) { Debug.Assert(obj != null && name != null); if (ReferenceEquals(obj, ScriptContext.SetterChainSingletonObject)) { ScriptContext.CurrentContext.AbortSetterChain(false); return new PhpReference(); } return obj.GetPropertyRef(name, caller); }