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