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);
4394
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4540
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
4663
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
4703
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
4754
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
4795
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
4825
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
4884
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
5017
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
5166
", sequencePoints: "C+<Main>d__0.MoveNext", source: source +
s_IAsyncEnumerable
);
5213
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
5332
var lib = CreateCompilationWithTasksExtensions(enumerator +
s_IAsyncEnumerable
);
5371
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
5401
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
5455
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
5607
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
5960
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6093
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6260
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6436
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6535
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
6565
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
6608
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6740
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
6872
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
6930
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7085
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7231
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7364
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7507
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
7560
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7731
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7860
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7906
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
7948
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
7968
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
7994
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
8049
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
8193
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
8454
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
8521
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
8728
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
8763
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
8888
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
8991
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9034
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9112
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9186
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9277
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
9320
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
9378
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9489
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9593
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9697
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9812
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.ReleaseExe);
11903
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
13269
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
13355
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
13441
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
13523
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
14330
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe,
14467
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe,
14606
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe,
14743
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
14802
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)
92266
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92293
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92322
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92361
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92394
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92424
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92454
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92481
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92511
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, AllowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92541
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, DisallowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92569
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92602
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92630
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92664
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92694
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
134116
var comp = CreateCompilationWithTasksExtensions(new[] {
s_IAsyncEnumerable
, source });
147544
var comp = CreateCompilationWithTasksExtensions(new[] {
s_IAsyncEnumerable
, source });
147595
var comp = CreateCompilationWithTasksExtensions(new[] {
s_IAsyncEnumerable
, source });
Semantics\TopLevelStatementsTests.cs (1)
1296
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());