Mono.CSharp.AbstractPropertyEventMethod.EnableOverloadChecks C# (CSharp) Method

EnableOverloadChecks() public method

public EnableOverloadChecks ( MemberCore overload ) : bool
overload MemberCore
return bool
        public override bool EnableOverloadChecks(MemberCore overload)
        {
            if (overload is MethodCore) {
                caching_flags |= Flags.MethodOverloadsExist;
                return true;
            }

            // This can only happen with indexers and it will
            // be catched as indexer difference
            if (overload is AbstractPropertyEventMethod)
                return true;

            return false;
        }