80 references to TestInMethodAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (80)
TypeInferrer\TypeInferrerTests.cs (80)
94await TestInMethodAsync( 102await TestInMethodAsync( 109await TestInMethodAsync( 116await TestInMethodAsync( 123await TestInMethodAsync( 130await TestInMethodAsync( 140await TestInMethodAsync( 147await TestInMethodAsync( 157await TestInMethodAsync( 167await TestInMethodAsync( 177await TestInMethodAsync( 187await TestInMethodAsync( 197await TestInMethodAsync( 207await TestInMethodAsync( 214await TestInMethodAsync( 221await TestInMethodAsync( 228await TestInMethodAsync( 235await TestInMethodAsync( 1427await TestInMethodAsync( 1439await TestInMethodAsync( 1451await TestInMethodAsync( 1464await TestInMethodAsync( 1476await TestInMethodAsync( 1489await TestInMethodAsync( 1501await TestInMethodAsync( 1513await TestInMethodAsync( 1525await TestInMethodAsync( 1538await TestInMethodAsync( 1550await TestInMethodAsync( 1562await TestInMethodAsync( 1574await TestInMethodAsync( 1586await TestInMethodAsync( 1598await TestInMethodAsync( 1617await TestInMethodAsync( 1624await TestInMethodAsync( 1632await TestInMethodAsync( 1639await TestInMethodAsync( 1650await TestInMethodAsync( 1658await TestInMethodAsync( 1665await TestInMethodAsync( 1672await TestInMethodAsync( 1679await TestInMethodAsync( 1686await TestInMethodAsync( 1693await TestInMethodAsync( 1700await TestInMethodAsync( 1706=> await TestInMethodAsync("try { } catch ([|Goo|] ex) { }", "global::System.Exception", mode); 1710=> await TestInMethodAsync(@"if ([|Goo()|]) { }", "global::System.Boolean", mode); 1714=> await TestInMethodAsync(@"while ([|Goo()|]) { }", "global::System.Boolean", mode); 1718=> await TestInMethodAsync(@"do { } while ([|Goo()|])", "global::System.Boolean", mode); 1723await TestInMethodAsync( 1733=> await TestInMethodAsync(@"for (string i = [|Goo()|]; ; ) { }", "global::System.String", mode); 1737=> await TestInMethodAsync(@"for (var i = [|Goo()|]; ; ) { }", "global::System.Int32", mode); 1742await TestInMethodAsync( 1751=> await TestInMethodAsync(@"using ([|Goo()|]) { }", "global::System.IDisposable", mode); 1755=> await TestInMethodAsync(@"using (int i = [|Goo()|]) { }", "global::System.Int32", mode); 1759=> await TestInMethodAsync(@"using (var v = [|Goo()|]) { }", "global::System.IDisposable", mode); 1763=> await TestInMethodAsync(@"foreach (int v in [|Goo()|]) { }", "global::System.Collections.Generic.IEnumerable<global::System.Int32>", mode); 1768await TestInMethodAsync( 1778await TestInMethodAsync( 1785await TestInMethodAsync( 1792await TestInMethodAsync( 1799await TestInMethodAsync( 1806await TestInMethodAsync( 1813await TestInMethodAsync( 1819=> await TestInMethodAsync(@"switch ([|Goo()|]) { }", "global::System.Int32", mode); 1823=> await TestInMethodAsync(@"switch ([|Goo()|]) { default: }", "global::System.Int32", mode); 1827=> await TestInMethodAsync(@"switch ([|Goo()|]) { case ""a"": }", "global::System.String", mode); 1832await TestInMethodAsync( 1909await TestInMethodAsync( 2086await TestInMethodAsync( 2096=> await TestInMethodAsync(@"this[[|Goo()|]];", "global::System.Int32", mode); 2936await TestInMethodAsync(text, "global::System.Boolean", mode); 2950await TestInMethodAsync(text, "global::System.Boolean", mode); 2963await TestInMethodAsync(text, "global::System.Object", TestMode.Node); 3253await TestInMethodAsync( 3261await TestInMethodAsync( 3268await TestInMethodAsync( 3352await TestInMethodAsync( 3359await TestInMethodAsync( 3366await TestInMethodAsync(