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)
2539
CSharpTestSource sources = [source,
AsyncStreamsTypes
];
CodeGen\CodeGenAsyncIteratorTests.cs (15)
115
var lib = CreateCompilationWithTasksExtensions(
AsyncStreamsTypes
);
132
var 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);
586
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, references: new[] { CSharpRef }, TestOptions.ReleaseExe);
1923
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, parseOptions: TestOptions.Regular7_3);
1926
comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, parseOptions: TestOptions.Regular8);
2401
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, options: TestOptions.DebugExe);
2479
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, options: TestOptions.DebugExe);
2528
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, options: TestOptions.DebugExe);
2573
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, options: TestOptions.DebugExe);
2616
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, options: TestOptions.DebugExe);
3742
var comp = CreateCompilationWithTasksExtensions(new[] { source, EnumeratorCancellationAttributeType,
AsyncStreamsTypes
}, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular9);
6496
var comp = CreateCompilation(
AsyncStreamsTypes
, references: new[] { NetStandard20.ExtraReferences.SystemThreadingTasksExtensions }, targetFramework: TargetFramework.NetStandard20);
8118
var 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
;
6268
CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, parseOptions: TestOptions.Regular9)
6295
CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, parseOptions: TestOptions.Regular9)
6322
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
6346
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
7167
new[] { source, TestSources.Index, TestSources.Range,
AsyncStreamsTypes
},
7201
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
7237
var 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)
751
var asyncStreamsTree = Parse(
AsyncStreamsTypes
, options: (CSharpParseOptions)source0.Tree.Options);
842
var 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)
3613
CreateCompilationWithTasksExtensions([source, LockTypeDefinition,
AsyncStreamsTypes
]).VerifyEmitDiagnostics(
3655
var comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition,
AsyncStreamsTypes
], options: TestOptions.ReleaseExe);
3659
comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition,
AsyncStreamsTypes
], options: TestOptions.DebugExe);
3696
var comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition,
AsyncStreamsTypes
], options: TestOptions.DebugExe);
3887
comp = 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)
6365
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, options: TestOptions.DebugExe);
IOperation\IOperationTests_IUsingStatement.cs (3)
4398
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
});
6136
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
});
6357
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
});
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\IteratorTests.cs (1)
145
""" +
AsyncStreamsTypes
;
Semantics\NullableReferenceTypesTests.cs (2)
76293
CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, options: WithNullableEnable()).VerifyDiagnostics(
76345
var comp = CreateCompilationWithTasksExtensions(new[] { source,
AsyncStreamsTypes
}, options: WithNullableEnable());
Semantics\ReadOnlyStructsTests.cs (1)
1905
var comp = CreateCompilationWithTasksExtensions(new[] { csharp,
AsyncStreamsTypes
});
Semantics\UnsafeTests.cs (1)
700
""" +
AsyncStreamsTypes
;