Mono.VisualC.Interop.Util.BasicSignature.IsCompatibleWith C# (CSharp) Method

IsCompatibleWith() public method

public IsCompatibleWith ( BasicSignature other ) : bool
other BasicSignature
return bool
        public bool IsCompatibleWith(BasicSignature other)
        {
            return CallingConvention == other.CallingConvention &&
                   ((ParameterTypes == null && other.ParameterTypes == null) ||
                     ParameterTypes.SequenceEqual (other.ParameterTypes)) &&
                   ReturnType.Equals (other.ReturnType);
        }