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
});
176
var comp_checked = CreateCompilationWithTasksExtensions(new[] { source.Replace("REPLACE", "checked"),
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
180
var comp_unchecked = CreateCompilationWithTasksExtensions(new[] { source.Replace("REPLACE", "unchecked"),
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
203
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
927
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
1038
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1082
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1139
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1179
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1222
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1269
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1312
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1330
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
1507
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
1529
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
1561
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
1594
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
1620
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
1656
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
1698
}" +
s_IAsyncEnumerable
;
1857
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.UnsafeDebugDll);
1893
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
1930
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
1967
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
2004
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
2059
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
2232
""" +
s_IAsyncEnumerable
;
2369
""" +
s_IAsyncEnumerable
;
2561
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
2605
""" +
s_IAsyncEnumerable
;
2857
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
2912
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
2963
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
3028
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
3066
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
3106
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
3157
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
3198
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
3228
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
3287
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
3345
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
3494
", sequencePoints: "C+<Main>d__0.MoveNext", source: source +
s_IAsyncEnumerable
);
3541
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
3585
var lib = CreateCompilationWithTasksExtensions(enumerator +
s_IAsyncEnumerable
);
3624
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
3654
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
3708
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
3781
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
4051
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4105
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4161
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4216
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4234
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
4264
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
4307
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4367
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4398
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
4456
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4529
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4585
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4639
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4686
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
4739
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4818
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4853
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4899
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
4941
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
4961
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
4987
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
);
5042
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
5123
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
5349
var comp = CreateCompilationWithTasksExtensions(source +
s_IAsyncEnumerable
, options: TestOptions.DebugExe);
5381
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
5588
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
5623
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
5719
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
5764
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
5807
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
5855
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
5899
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
5932
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
5975
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
});
6033
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
6077
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
6123
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
6168
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
6223
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.ReleaseExe);
7439
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
8440
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
8474
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
8507
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
8537
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
9088
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe,
9164
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe,
9242
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe,
9315
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: TestOptions.DebugExe);
9374
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)
92197
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92224
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92253
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92292
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92325
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92355
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92385
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92412
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92442
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, AllowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92472
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, DisallowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92500
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92533
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92561
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
}, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92595
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92625
var comp = CreateCompilationWithTasksExtensions(new[] { source,
s_IAsyncEnumerable
, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
134050
var comp = CreateCompilationWithTasksExtensions(new[] {
s_IAsyncEnumerable
, source });
147418
var comp = CreateCompilationWithTasksExtensions(new[] {
s_IAsyncEnumerable
, source });
147469
var comp = CreateCompilationWithTasksExtensions(new[] {
s_IAsyncEnumerable
, source });
Semantics\TopLevelStatementsTests.cs (1)
1251
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());