public override bool Equals(object obj) { SpecializedMethod other = obj as SpecializedMethod; if (other == null) { return(false); } return(this.baseMember.Equals(other.baseMember) && this.substitutionWithoutSpecializedTypeParameters.Equals(other.substitutionWithoutSpecializedTypeParameters)); }
public override bool Equals(IMember obj, TypeVisitor typeNormalization) { SpecializedMethod other = obj as SpecializedMethod; if (other == null) { return(false); } return(this.baseMember.Equals(other.baseMember, typeNormalization) && this.substitutionWithoutSpecializedTypeParameters.Equals(other.substitutionWithoutSpecializedTypeParameters, typeNormalization)); }
IMethod IMethod.Specialize(TypeParameterSubstitution substitution) { return(SpecializedMethod.Create(this, substitution)); }
public override IMember Specialize(TypeParameterSubstitution substitution) { return(SpecializedMethod.Create(this, substitution)); }