public override bool Equals(object obj) { if (obj == null) { return(false); } ResolvedGrain_Silence resolvedGrain_Silence = obj as ResolvedGrain_Silence; return(resolvedGrain_Silence != null && resolvedGrain_Silence.sourceGrain == this.sourceGrain); }
public override bool Equals(object obj) { bool result; if (obj == null) { result = false; } else { ResolvedGrain_Silence resolvedGrain_Silence = obj as ResolvedGrain_Silence; result = (resolvedGrain_Silence != null && resolvedGrain_Silence.sourceGrain == this.sourceGrain); } return(result); }