public bool Equals(IAstFunctionTypeReference functionType) { if (functionType == null) return false; return Enumerable.SequenceEqual(this.GetParameterTypes(), functionType.GetParameterTypes()) && Equals(this.ReturnType, functionType.ReturnType); }