Mono.VisualC.Interop.Util.BasicSignature.IsCompatibleWith C# (CSharp) Метод

IsCompatibleWith() публичный Метод

public IsCompatibleWith ( BasicSignature other ) : bool
other BasicSignature
Результат bool
        public bool IsCompatibleWith(BasicSignature other)
        {
            return CallingConvention == other.CallingConvention &&
                   ((ParameterTypes == null && other.ParameterTypes == null) ||
                     ParameterTypes.SequenceEqual (other.ParameterTypes)) &&
                   ReturnType.Equals (other.ReturnType);
        }