Castle.DynamicProxy.GeneratorContext.ShouldCreateNewSlot C# (CSharp) Method

ShouldCreateNewSlot() public method

Checks if the method has the same signature as a method that was marked as one that should generate a new vtable slot.
public ShouldCreateNewSlot ( MethodInfo method ) : bool
method System.Reflection.MethodInfo
return bool
        public bool ShouldCreateNewSlot(MethodInfo method)
        {
            string methodStr = method.ToString();
            foreach (MethodInfo candidate in _generateNewSlot)
            {
                if (candidate.ToString() == methodStr)
                    return true;
            }
            return false;
        }