In Linq/Select.cs:180:
public override bool MoveNext()
{
if (_state < 1 | _state == _source.Length + 1)
...
This looks to me like it should be a || operator instead, but a tiny part of me thinks that perhaps the TSource could implement .Length as a property and the getter could mutate the object in some important way.
Happy to submit a PR for this, but wanted to ask if this was a known pattern first, or if this was just a typo.
In Linq/Select.cs:180:
This looks to me like it should be a
||operator instead, but a tiny part of me thinks that perhaps the TSource could implement .Length as a property and the getter could mutate the object in some important way.Happy to submit a PR for this, but wanted to ask if this was a known pattern first, or if this was just a typo.