コード例 #1
0
 public int GetHashCode(ParameterExpression variable)
 => AwaitExpression.IsAwaiterHolder(variable) ? variable.Type.GetHashCode() : variable.GetHashCode();
コード例 #2
0
 public bool Equals(ParameterExpression x, ParameterExpression y)
 => AwaitExpression.IsAwaiterHolder(x) && AwaitExpression.IsAwaiterHolder(y) ? x?.Type == y?.Type : object.Equals(x, y);