134 references to GetItemsAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (134)
Interactive\NavigateTo\InteractiveNavigateToTests.cs (39)
34Assert.Empty(await _aggregator.GetItemsAsync("Hello")); 49var item = (await _aggregator.GetItemsAsync("Goo")).Single(x => x.Kind != "Method"); 71var item = (await _aggregator.GetItemsAsync("DogBed")).Single(x => x.Kind != "Method"); 96var item = (await _aggregator.GetItemsAsync("Method")).Single(); 114var item = (await _aggregator.GetItemsAsync("Goo")).Single(x => x.Kind != "Method"); 135var item = (await _aggregator.GetItemsAsync("Bar")).Single(); 160var items = await _aggregator.GetItemsAsync("Goo"); 177var items = await _aggregator.GetItemsAsync("FileStyleUriParser"); 196var item = (await _aggregator.GetItemsAsync("Goo")).Single(x => x.Kind != "Method"); 212var item = (await _aggregator.GetItemsAsync("B")).Single(x => x.Kind != "Method"); 231var item = (await _aggregator.GetItemsAsync("Colors")).Single(x => x.Kind != "Method"); 250var item = (await _aggregator.GetItemsAsync("R")).Single(); 267var item = (await _aggregator.GetItemsAsync("ba")).Single(); 284var item = (await _aggregator.GetItemsAsync("string")).Single(); 296var item = (await _aggregator.GetItemsAsync("this")).Single(); 308var item = (await _aggregator.GetItemsAsync("CEH")).Single(); 325var item = (await _aggregator.GetItemsAsync("B")).Single(); 342var item = (await _aggregator.GetItemsAsync("DS")).Single(); 361var item = (await _aggregator.GetItemsAsync("DS")).Single(); 380var item = (await _aggregator.GetItemsAsync("Goo")).Single(t => t.Kind == NavigateToItemKind.Method); 399var item = (await _aggregator.GetItemsAsync("Goo")).Single(t => t.Kind == NavigateToItemKind.Method); 418var item = (await _aggregator.GetItemsAsync("Goo")).Single(t => t.Kind == NavigateToItemKind.Method && t.Name != ".ctor"); 432var items = await _aggregator.GetItemsAsync("Bar"); 450var item = (await _aggregator.GetItemsAsync("Bar")).Single(); 465var items = await _aggregator.GetItemsAsync("Name"); 496var item = (await _aggregator.GetItemsAsync("IG")).Single(); 513var item = (await _aggregator.GetItemsAsync("DoStuff")).Single(x => x.Kind != "Method"); 532var item = (await _aggregator.GetItemsAsync("sqr")).Single(); 570var items = (await _aggregator.GetItemsAsync("C")).ToList(); 589Assert.Single((await _aggregator.GetItemsAsync("Goo")), x => x.Kind != "Method"); 593Assert.Single((await _aggregator.GetItemsAsync("Goo")), x => x.Kind != "Method"); 613var item = (await _aggregator.GetItemsAsync("G")).Single(x => x.Kind != "Method"); 642var items = await _aggregator.GetItemsAsync("GK"); 661var items = await _aggregator.GetItemsAsync("GKW"); 678var items = await _aggregator.GetItemsAsync("K W"); 691var items = await _aggregator.GetItemsAsync("WKG"); 703var item = (await _aggregator.GetItemsAsync("G_K_W")).Single(); 720var items = await _aggregator.GetItemsAsync("K*W"); 734var items = await _aggregator.GetItemsAsync("GTW");
NavigateTo\NavigateToTests.cs (95)
35Assert.Empty(await _aggregator.GetItemsAsync("Hello")); 49var item = (await _aggregator.GetItemsAsync("Goo")).Single(x => x.Kind != "Method"); 64var item = (await _aggregator.GetItemsAsync("Goo")).Single(x => x.Kind != "Method"); 79var item = (await _aggregator.GetItemsAsync("Goo")).Single(x => x.Kind != "Method"); 100var item = (await _aggregator.GetItemsAsync("Goo")).Single(x => x.Kind != "Method"); 120var item = (await _aggregator.GetItemsAsync("Goo")).Single(x => x.Kind != "Method"); 135var item = (await _aggregator.GetItemsAsync("static")).Single(x => x.Kind != "Method"); 139item = (await _aggregator.GetItemsAsync("@static")).Single(x => x.Kind != "Method"); 160var item = (await _aggregator.GetItemsAsync("DogBed")).Single(x => x.Kind != "Method"); 184var item = (await _aggregator.GetItemsAsync("Method")).Single(); 201var item = (await _aggregator.GetItemsAsync("Goo")).Single(x => x.Kind != "Method"); 221var item = (await _aggregator.GetItemsAsync("Bar")).Single(); 245var items = await _aggregator.GetItemsAsync("Goo"); 261var items = await _aggregator.GetItemsAsync("FileStyleUriParser"); 279var item = (await _aggregator.GetItemsAsync("Goo")).Single(x => x.Kind != "Method"); 294var item = (await _aggregator.GetItemsAsync("B")).Single(x => x.Kind != "Method"); 312var item = (await _aggregator.GetItemsAsync("Colors")).Single(x => x.Kind != "Method"); 330var item = (await _aggregator.GetItemsAsync("R")).Single(); 346var item = (await _aggregator.GetItemsAsync("b")).Single(); 362var item = (await _aggregator.GetItemsAsync("ba")).Single(); 378Assert.Empty(await _aggregator.GetItemsAsync("ar")); 393var item = (await _aggregator.GetItemsAsync("string")).Single(); 397item = (await _aggregator.GetItemsAsync("@string")).Single(); 413Assert.Empty(await _aggregator.GetItemsAsync("ar")); 428var item = (await _aggregator.GetItemsAsync("b")).Single(); 444var item = (await _aggregator.GetItemsAsync("ba")).Single(); 455var item = (await _aggregator.GetItemsAsync("this")).Single(); 466var item = (await _aggregator.GetItemsAsync("CEH")).Single(); 482var item = (await _aggregator.GetItemsAsync("B")).Single(); 498var item = (await _aggregator.GetItemsAsync("DS")).Single(); 514var item = (await _aggregator.GetItemsAsync("static")).Single(); 518item = (await _aggregator.GetItemsAsync("@static")).Single(); 536var item = (await _aggregator.GetItemsAsync("DS")).Single(); 554var item = (await _aggregator.GetItemsAsync("Goo")).Single(t => t.Kind == NavigateToItemKind.Method); 572var item = (await _aggregator.GetItemsAsync("Goo")).Single(t => t.Kind == NavigateToItemKind.Method); 590var item = (await _aggregator.GetItemsAsync("Goo")).Single(t => t.Kind == NavigateToItemKind.Method && t.Name != ".ctor"); 603var items = await _aggregator.GetItemsAsync("Bar"); 617var items = await _aggregator.GetItemsAsync("Prop"); 634var item = (await _aggregator.GetItemsAsync("Bar")).Single(); 652var item = (await _aggregator.GetItemsAsync("Bar")).Single(); 666var items = await _aggregator.GetItemsAsync("Name"); 696var item = (await _aggregator.GetItemsAsync("IG")).Single(); 711var item = (await _aggregator.GetItemsAsync("Goo")).Single(); 726var item = (await _aggregator.GetItemsAsync("Goo")).Single(); 741var item = (await _aggregator.GetItemsAsync("Goo")).Single(); 759var item = (await _aggregator.GetItemsAsync("Bar")).Single(); 783var item = (await _aggregator.GetItemsAsync("Goo")).Single(); 807var item = (await _aggregator.GetItemsAsync("Bar")).Single(); 823var item = (await _aggregator.GetItemsAsync("DoStuff")).Single(x => x.Kind != "Method"); 841var item = (await _aggregator.GetItemsAsync("sqr")).Single(); 857var item = (await _aggregator.GetItemsAsync("itemArray")).Single(); 884var items = await _aggregator.GetItemsAsync("Goo"); 908var item = (await _aggregator.GetItemsAsync("M")).Single(); 945var items = (await _aggregator.GetItemsAsync("C")).ToList(); 964var item = (await _aggregator.GetItemsAsync("M")).Single(); 981Assert.Single((await _aggregator.GetItemsAsync("Goo")), x => x.Kind != "Method"); 985Assert.Single((await _aggregator.GetItemsAsync("Goo")), x => x.Kind != "Method"); 1003var item = (await _aggregator.GetItemsAsync("G")).Single(x => x.Kind != "Method"); 1031var items = await _aggregator.GetItemsAsync("GK"); 1049var items = await _aggregator.GetItemsAsync("GKW"); 1065var items = await _aggregator.GetItemsAsync("K W"); 1077var items = await _aggregator.GetItemsAsync("WKG"); 1088var item = (await _aggregator.GetItemsAsync("G_K_W")).Single(); 1107var items = await _aggregator.GetItemsAsync("get word"); 1119var items = await _aggregator.GetItemsAsync("GTW"); 1150var items = await _aggregator.GetItemsAsync("this"); 1167var items = await _aggregator.GetItemsAsync("B.Q"); 1183var items = await _aggregator.GetItemsAsync("C.Q"); 1200var items = await _aggregator.GetItemsAsync("B.B.Q"); 1217var items = await _aggregator.GetItemsAsync("Baz.Quux"); 1234var items = await _aggregator.GetItemsAsync("G.B.B.Quux"); 1250var items = await _aggregator.GetItemsAsync("F.F.B.B.Quux"); 1268var items = await _aggregator.GetItemsAsync("Baz.Q"); 1287var items = await _aggregator.GetItemsAsync("Console.Write"); 1325var items = await _aggregator.GetItemsAsync("VisibleMethod"); 1351var item = (await _aggregator.GetItemsAsync("ToEror")).Single(); 1370var item = (await _aggregator.GetItemsAsync("ToError")).Single(); 1404await _aggregator.GetItemsAsync("Outer")); 1437await _aggregator.GetItemsAsync("Outer")); 1467await _aggregator.GetItemsAsync("Outer")); 1500await _aggregator.GetItemsAsync("Outer")); 1534await _aggregator.GetItemsAsync("Outer")); 1559await _aggregator.GetItemsAsync("Outer")); 1585await _aggregator.GetItemsAsync("Outer")); 1610await _aggregator.GetItemsAsync("C")); 1641await _aggregator.GetItemsAsync("C")); 1660var item = (await _aggregator.GetItemsAsync("Method")).Single(); 1676var item = (await _aggregator.GetItemsAsync("Member")).Single(x => x.Kind == NavigateToItemKind.Property); 1693var item = (await _aggregator.GetItemsAsync("Member")).Single(x => x.Kind == NavigateToItemKind.Property); 1710var item = (await _aggregator.GetItemsAsync("Member")).Single(x => x.Kind == NavigateToItemKind.Field); 1751var items = await _aggregator.GetItemsAsync("VisibleMethod"); 1796var items = await _aggregator.GetItemsAsync("VisibleMethod"); 1841var items = await _aggregator.GetItemsAsync("VisibleMethod"); 1886var items = await _aggregator.GetItemsAsync("VisibleMethod"); 1931var items = await _aggregator.GetItemsAsync("VisibleMethod");