IronPython.Runtime.Types.ReflectedField.TryDeleteValue C# (CSharp) Method

TryDeleteValue() private method

private TryDeleteValue ( Microsoft.Scripting.CodeContext context, object instance, IronPython.Runtime.Types.PythonType owner ) : bool
context Microsoft.Scripting.CodeContext
instance object
owner IronPython.Runtime.Types.PythonType
return bool
        internal override bool TryDeleteValue(CodeContext context, object instance, PythonType owner) {
            if (ShouldSetOrDelete(owner)) {
                throw PythonOps.AttributeErrorForBuiltinAttributeDeletion(_info.DeclaringType.Name, _info.Name);
            }
            return false;
        }