57 references to AsyncStreamsTypes
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveAsyncModifier\RemoveAsyncModifierTests.cs (1)
1166""" + AsyncStreamsTypes;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (33)
CodeGen\CodeGenAsyncEHTests.cs (1)
2539CSharpTestSource sources = [source, AsyncStreamsTypes];
CodeGen\CodeGenAsyncIteratorTests.cs (15)
115var lib = CreateCompilationWithTasksExtensions(AsyncStreamsTypes); 132var lib = CreateCompilationWithTasksExtensions(new[] { AsyncStreamsTypes }); 141=> CreateCompilationWithTasksExtensions(new[] { (CSharpTestSource)CSharpTestBase.Parse(source, filename: "source", parseOptions), CSharpTestBase.Parse(AsyncStreamsTypes, filename: "AsyncStreamsTypes", parseOptions) }, 145=> CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: options, parseOptions: parseOptions); 586var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, references: new[] { CSharpRef }, TestOptions.ReleaseExe); 1923var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, parseOptions: TestOptions.Regular7_3); 1926comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, parseOptions: TestOptions.Regular8); 2401var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2479var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2528var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2573var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 2616var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe); 3742var comp = CreateCompilationWithTasksExtensions(new[] { source, EnumeratorCancellationAttributeType, AsyncStreamsTypes }, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular9); 6496var comp = CreateCompilation(AsyncStreamsTypes, references: new[] { NetStandard20.ExtraReferences.SystemThreadingTasksExtensions }, targetFramework: TargetFramework.NetStandard20); 8118var comp = CreateCompilationWithTasksExtensions(new[] { source, EnumeratorCancellationAttributeType, AsyncStreamsTypes }, parseOptions: TestOptions.Regular9);
CodeGen\CodeGenAwaitForeachTests.cs (14)
1765""" + AsyncStreamsTypes; 1816""" + AsyncStreamsTypes; 2136""" + AsyncStreamsTypes; 2279""" + AsyncStreamsTypes; 2440""" + AsyncStreamsTypes; 2669""" + AsyncStreamsTypes; 2713""" + AsyncStreamsTypes; 6268CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, parseOptions: TestOptions.Regular9) 6295CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, parseOptions: TestOptions.Regular9) 6322var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 6346var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7167new[] { source, TestSources.Index, TestSources.Range, AsyncStreamsTypes }, 7201var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9); 7237var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
CodeGen\CodeGenAwaitUsingTests.cs (3)
3436""" + AsyncStreamsTypes; 3472""" + AsyncStreamsTypes; 3524""" + AsyncStreamsTypes;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\EditAndContinue\LocalSlotMappingTests.cs (2)
751var asyncStreamsTree = Parse(AsyncStreamsTypes, options: (CSharpParseOptions)source0.Tree.Options); 842var asyncStreamsTree = Parse(AsyncStreamsTypes, options: (CSharpParseOptions)source0.Tree.Options);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (11)
RefUnsafeInIteratorAndAsyncTests.cs (6)
652""" + AsyncStreamsTypes; 740""" + AsyncStreamsTypes; 794""" + AsyncStreamsTypes; 1131""" + AsyncStreamsTypes; 1205""" + AsyncStreamsTypes; 1304""" + AsyncStreamsTypes;
Semantics\LockTests.cs (5)
3613CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes]).VerifyEmitDiagnostics( 3655var comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.ReleaseExe); 3659comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.DebugExe); 3696var comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.DebugExe); 3887comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.ReleaseExe);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveAsyncModifier\RemoveAsyncModifierTests.cs (1)
1166""" + AsyncStreamsTypes;
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (4)
IOperation\IOperationTests_IForEachLoopStatement.cs (1)
6365var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: TestOptions.DebugExe);
IOperation\IOperationTests_IUsingStatement.cs (3)
4398var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }); 6136var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }); 6357var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes });
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\IteratorTests.cs (1)
145""" + AsyncStreamsTypes;
Semantics\NullableReferenceTypesTests.cs (2)
76293CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: WithNullableEnable()).VerifyDiagnostics( 76345var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, options: WithNullableEnable());
Semantics\ReadOnlyStructsTests.cs (1)
1905var comp = CreateCompilationWithTasksExtensions(new[] { csharp, AsyncStreamsTypes });
Semantics\UnsafeTests.cs (1)
700""" + AsyncStreamsTypes;