} = new OptimizedAsyncEnumerable <TestType>(); // boxes enumerator but public public void Method() { Property00 = new OptimizedAsyncEnumerable <TestType>(); Property01 = new NonOptimizedAsyncEnumerable <TestType>(); Property11 = new OptimizedAsyncEnumerable <TestType>(); // boxes enumerator but public }
public void Method() { OptimizedAsyncEnumerable <TestType> variable00 = new OptimizedAsyncEnumerable <TestType>(); IAsyncEnumerable <TestType> variable01 = new NonOptimizedAsyncEnumerable <TestType>(); var variable10 = new OptimizedAsyncEnumerable <TestType>(); variable00 = new OptimizedAsyncEnumerable <TestType>(); variable01 = new NonOptimizedAsyncEnumerable <TestType>(); variable10 = new OptimizedAsyncEnumerable <TestType>(); }