Example #1
0
 public override bool Equals(object obj)
 {
     if (obj is FieldRef)
     {
         FieldRef fref = (FieldRef)obj;
         return(FieldDesc.Equals(fref.FieldDesc));
     }
     else
     {
         return(false);
     }
 }
Example #2
0
 public bool Equals(HoistedLocalKey other) => Field.Equals(other.Field);
 public bool Equals(FieldAndSignatureContext other)
 {
     return(Field.Equals(other.Field) &&
            SignatureContext.Equals(other.SignatureContext));
 }