Пример #1
0
        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);
        }