146 references to s_IAsyncEnumerable
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (102)
CodeGen\CodeGenAwaitForeachTests.cs (102)
42
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular7_3);
45
comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular8);
72
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular7_3);
75
comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular8);
90
var lib = CreateCompilationWithTasksExtensions(new[] { lib_cs,
s_IAsyncEnumerable
});
125
var comp_checked = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
177
var comp_checked = CreateCompilationWithTasksExtensions(new[] { checkedSource,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
182
var comp_unchecked = CreateCompilationWithTasksExtensions(new[] { uncheckedSource,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
380
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
1170
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
1281
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1405
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1555
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1675
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1789
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1908
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
2020
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
2106
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
2286
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
2308
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
2340
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
2373
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
2427
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
2463
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
2505
}" +
s_IAsyncEnumerable
;
2723
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.UnsafeDebugDll);
2759
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
2796
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
2833
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
2870
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
2925
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
3162
""" +
s_IAsyncEnumerable
;
3437
""" +
s_IAsyncEnumerable
;
3765
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
3841
""" +
s_IAsyncEnumerable
;
4214
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
4269
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4400
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4546
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
4669
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
4709
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
4760
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
4801
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
4831
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
4890
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
5023
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
5172
", sequencePoints: "C+<Main>d__0.MoveNext", source: source +
s_IAsyncEnumerable
);
5219
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
5338
var lib = CreateCompilationWithTasksExtensions(enumerator +
s_IAsyncEnumerable
);
5377
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
5407
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
5461
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
5613
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
5966
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6099
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6266
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6442
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6549
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
6579
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
6622
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6754
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6886
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
6944
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7099
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7245
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7378
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7521
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
7574
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7745
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7874
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7920
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7962
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
7982
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
8008
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
8063
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
8207
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
8468
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
8535
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
8742
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
8777
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
8902
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9005
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9048
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9126
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9200
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9291
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
9334
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
9392
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9503
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9607
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9711
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9826
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.ReleaseExe);
11917
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
13283
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
13369
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
13455
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
13537
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
14344
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe,
14481
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe,
14620
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe,
14757
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
14816
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\ParamsCollectionTests.cs (2)
15480
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
15588
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (22)
IOperation\IOperationTests_IAwaitExpression.cs (1)
284
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source +
s_IAsyncEnumerable
, expectedFlowGraph, expectedDiagnostics);
IOperation\IOperationTests_IForEachLoopStatement.cs (10)
1725
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular9);
1780
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular9);
1827
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular9);
1894
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular9);
5196
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular9);
5328
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular9);
5414
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular9);
5585
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, parseOptions: TestOptions.Regular9);
5632
VerifyOperationTreeForTest<ForEachStatementSyntax>(source +
s_IAsyncEnumerable
+ s_ValueTask, expectedOperationTree);
5756
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source +
s_IAsyncEnumerable
+ s_ValueTask, expectedFlowGraph, expectedDiagnostics);
IOperation\IOperationTests_IUsingStatement.cs (11)
126
VerifyOperationTreeAndDiagnosticsForTest<UsingStatementSyntax>(source +
s_IAsyncEnumerable
+ IOperationTests_IForEachLoopStatement.s_ValueTask, expectedOperationTree, expectedDiagnostics);
244
VerifyOperationTreeAndDiagnosticsForTest<UsingStatementSyntax>(source +
s_IAsyncEnumerable
+ IOperationTests_IForEachLoopStatement.s_ValueTask, expectedOperationTree, expectedDiagnostics);
340
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source +
s_IAsyncEnumerable
+ IOperationTests_IForEachLoopStatement.s_ValueTask, expectedGraph, expectedDiagnostics);
441
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source +
s_IAsyncEnumerable
+ IOperationTests_IForEachLoopStatement.s_ValueTask, expectedGraph, expectedDiagnostics);
546
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source +
s_IAsyncEnumerable
+ IOperationTests_IForEachLoopStatement.s_ValueTask, expectedGraph, expectedDiagnostics);
4485
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source +
s_IAsyncEnumerable
+ IOperationTests_IForEachLoopStatement.s_ValueTask, expectedGraph, expectedDiagnostics);
4579
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source +
s_IAsyncEnumerable
+ IOperationTests_IForEachLoopStatement.s_ValueTask, expectedGraph, expectedDiagnostics);
4665
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source +
s_IAsyncEnumerable
+ IOperationTests_IForEachLoopStatement.s_ValueTask, expectedGraph, expectedDiagnostics);
4754
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source +
s_IAsyncEnumerable
+ IOperationTests_IForEachLoopStatement.s_ValueTask, expectedGraph, expectedDiagnostics);
7734
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source +
s_IAsyncEnumerable
+ IOperationTests_IForEachLoopStatement.s_ValueTask, expectedGraph, expectedDiagnostics);
7832
VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source +
s_IAsyncEnumerable
+ IOperationTests_IForEachLoopStatement.s_ValueTask, expectedGraph, expectedDiagnostics);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (19)
Semantics\NullableReferenceTypesTests.cs (18)
92239
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92266
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92295
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92334
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92367
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92397
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92427
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92454
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92484
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, AllowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92514
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, DisallowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92542
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92575
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92603
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92637
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92667
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
134092
var comp = CreateCompilationWithTasksExtensions(new[] {
s_IAsyncEnumerable
, source });
147486
var comp = CreateCompilationWithTasksExtensions(new[] {
s_IAsyncEnumerable
, source });
147537
var comp = CreateCompilationWithTasksExtensions(new[] {
s_IAsyncEnumerable
, source });
Semantics\TopLevelStatementsTests.cs (1)
1252
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\NullablePublicAPITests.cs (1)
2169
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable());