コード例 #1
0
 public override bool Equals(object obj)
 {
     return((obj is ReadOnlyNeedle <T>) ? EqualsExtracted(this, (ReadOnlyNeedle <T>)obj) : _target.Equals(obj));
 }
コード例 #2
0
 public override bool Equals(object obj)
 {
     return(obj is ReadOnlyNeedle <T> needle ? this == needle : _target.Equals(obj));
 }