Exemple #1
0
 public bool Equals(MosaField other)
 {
     return(SignatureComparer.Equals(this.FieldType, other.FieldType));
 }
Exemple #2
0
 public bool Equals(MosaType other)
 {
     return(SignatureComparer.Equals(this, other));
 }
Exemple #3
0
        public bool Equals(MosaMethod other)
        {
            return(SignatureComparer.Equals(Signature, other.Signature));

            //return SignatureEquals(other) && this.DeclaringType.FullName == other.DeclaringType.FullName && this.Name == other.Name;
        }
Exemple #4
0
 public bool Equals(MosaProperty other)
 {
     return(SignatureComparer.Equals(PropertyType, other.PropertyType));
 }
Exemple #5
0
 public bool Equals(MosaMethodSignature sig)
 {
     return(SignatureComparer.Equals(this.ReturnType, sig.ReturnType) &&
            this.Parameters.SequenceEquals(sig.Parameters));
 }
Exemple #6
0
 public bool SameNameAndSignature(MosaMethod other)
 {
     return(other.Name.Equals(Name) && SignatureComparer.Equals(Signature, other.Signature));
 }
Exemple #7
0
 public bool SameSignature(MosaMethod other)
 {
     return(SignatureComparer.Equals(Signature, other.Signature));
 }