80 references to TestInMethodAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (80)
TypeInferrer\TypeInferrerTests.cs (80)
91=> TestInMethodAsync(
97=> TestInMethodAsync(
102=> TestInMethodAsync(
107=> TestInMethodAsync(
112=> TestInMethodAsync(
117=> TestInMethodAsync(
125=> TestInMethodAsync(
130=> TestInMethodAsync(
138=> TestInMethodAsync(
146=> TestInMethodAsync(
151=> TestInMethodAsync(
159=> TestInMethodAsync(
167=> TestInMethodAsync(
175=> TestInMethodAsync(
180=> TestInMethodAsync(
185=> TestInMethodAsync(
190=> TestInMethodAsync(
195=> TestInMethodAsync(
1182=> TestInMethodAsync(
1192=> TestInMethodAsync(
1202=> TestInMethodAsync(
1213=> TestInMethodAsync(
1223=> TestInMethodAsync(
1234=> TestInMethodAsync(
1244=> TestInMethodAsync(
1254=> TestInMethodAsync(
1264=> TestInMethodAsync(
1275=> TestInMethodAsync(
1285=> TestInMethodAsync(
1295=> TestInMethodAsync(
1305=> TestInMethodAsync(
1315=> TestInMethodAsync(
1325=> TestInMethodAsync(
1340=> TestInMethodAsync(
1345=> TestInMethodAsync(
1351=> TestInMethodAsync(
1356=> TestInMethodAsync(
1365=> TestInMethodAsync(
1371=> TestInMethodAsync(
1376=> TestInMethodAsync(
1381=> TestInMethodAsync(
1386=> TestInMethodAsync(
1391=> TestInMethodAsync(
1396=> TestInMethodAsync(
1401=> TestInMethodAsync(
1406=> await TestInMethodAsync("try { } catch ([|Goo|] ex) { }", "global::System.Exception", mode);
1410=> await TestInMethodAsync(@"if ([|Goo()|]) { }", "global::System.Boolean", mode);
1414=> await TestInMethodAsync(@"while ([|Goo()|]) { }", "global::System.Boolean", mode);
1418=> await TestInMethodAsync(@"do { } while ([|Goo()|])", "global::System.Boolean", mode);
1422=> TestInMethodAsync(
1431=> await TestInMethodAsync(@"for (string i = [|Goo()|]; ; ) { }", "global::System.String", mode);
1435=> await TestInMethodAsync(@"for (var i = [|Goo()|]; ; ) { }", "global::System.Int32", mode);
1439=> TestInMethodAsync(
1447=> await TestInMethodAsync(@"using ([|Goo()|]) { }", "global::System.IDisposable", mode);
1451=> await TestInMethodAsync(@"using (int i = [|Goo()|]) { }", "global::System.Int32", mode);
1455=> await TestInMethodAsync(@"using (var v = [|Goo()|]) { }", "global::System.IDisposable", mode);
1459=> await TestInMethodAsync(@"foreach (int v in [|Goo()|]) { }", "global::System.Collections.Generic.IEnumerable<global::System.Int32>", mode);
1463=> TestInMethodAsync(
1471=> TestInMethodAsync(
1476=> TestInMethodAsync(
1481=> TestInMethodAsync(
1486=> TestInMethodAsync(
1491=> TestInMethodAsync(
1496=> TestInMethodAsync(
1501=> await TestInMethodAsync(@"switch ([|Goo()|]) { }", "global::System.Int32", mode);
1505=> await TestInMethodAsync(@"switch ([|Goo()|]) { default: }", "global::System.Int32", mode);
1509=> await TestInMethodAsync(@"switch ([|Goo()|]) { case ""a"": }", "global::System.String", mode);
1513=> TestInMethodAsync(
1578=> TestInMethodAsync(
1733=> TestInMethodAsync(
1742=> await TestInMethodAsync(@"this[[|Goo()|]];", "global::System.Int32", mode);
2377=> TestInMethodAsync("""
2387=> TestInMethodAsync("""
2396=> TestInMethodAsync("""
2621=> TestInMethodAsync(
2627=> TestInMethodAsync(
2632=> TestInMethodAsync(
2694=> TestInMethodAsync(
2699=> TestInMethodAsync(
2704=> TestInMethodAsync(