228 references to TestAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (228)
Debugging\NameResolverTests.cs (228)
52await TestAsync(text, "Goo", "C.Goo()"); 53await TestAsync(text, "goo"); 54await TestAsync(text, "C.Goo", "C.Goo()"); 55await TestAsync(text, "N.C.Goo"); 56await TestAsync(text, "Goo<T>"); 57await TestAsync(text, "C<T>.Goo"); 58await TestAsync(text, "Goo()", "C.Goo()"); 59await TestAsync(text, "Goo(int i)"); 60await TestAsync(text, "Goo(int)"); 78await TestAsync(text, "Goo", "N.C.Goo()"); 79await TestAsync(text, "goo"); 80await TestAsync(text, "C.Goo", "N.C.Goo()"); 81await TestAsync(text, "N.C.Goo", "N.C.Goo()"); 82await TestAsync(text, "Goo<T>"); 83await TestAsync(text, "C<T>.Goo"); 84await TestAsync(text, "Goo()", "N.C.Goo()"); 85await TestAsync(text, "C.Goo()", "N.C.Goo()"); 86await TestAsync(text, "N.C.Goo()", "N.C.Goo()"); 87await TestAsync(text, "Goo(int i)"); 88await TestAsync(text, "Goo(int)"); 89await TestAsync(text, "Goo(a)"); 107await TestAsync(text, "Goo", "N.C<T>.Goo()"); 108await TestAsync(text, "goo"); 109await TestAsync(text, "C.Goo", "N.C<T>.Goo()"); 110await TestAsync(text, "N.C.Goo", "N.C<T>.Goo()"); 111await TestAsync(text, "Goo<T>"); 112await TestAsync(text, "C<T>.Goo", "N.C<T>.Goo()"); 113await TestAsync(text, "C<T>.Goo()", "N.C<T>.Goo()"); 114await TestAsync(text, "Goo()", "N.C<T>.Goo()"); 115await TestAsync(text, "C.Goo()", "N.C<T>.Goo()"); 116await TestAsync(text, "N.C.Goo()", "N.C<T>.Goo()"); 117await TestAsync(text, "Goo(int i)"); 118await TestAsync(text, "Goo(int)"); 119await TestAsync(text, "Goo(a)"); 137await TestAsync(text, "Goo", "N.C.Goo<T>()"); 138await TestAsync(text, "goo"); 139await TestAsync(text, "C.Goo", "N.C.Goo<T>()"); 140await TestAsync(text, "N.C.Goo", "N.C.Goo<T>()"); 141await TestAsync(text, "Goo<T>", "N.C.Goo<T>()"); 142await TestAsync(text, "Goo<X>", "N.C.Goo<T>()"); 143await TestAsync(text, "Goo<T,X>"); 144await TestAsync(text, "C<T>.Goo"); 145await TestAsync(text, "C<T>.Goo()"); 146await TestAsync(text, "Goo()", "N.C.Goo<T>()"); 147await TestAsync(text, "C.Goo()", "N.C.Goo<T>()"); 148await TestAsync(text, "N.C.Goo()", "N.C.Goo<T>()"); 149await TestAsync(text, "Goo(int i)"); 150await TestAsync(text, "Goo(int)"); 151await TestAsync(text, "Goo(a)"); 152await TestAsync(text, "Goo<T>(int i)"); 153await TestAsync(text, "Goo<T>(int)"); 154await TestAsync(text, "Goo<T>(a)"); 173await TestAsync(text, "Goo", "C.Goo()", "C.Goo(int)"); 174await TestAsync(text, "goo"); 175await TestAsync(text, "C.Goo", "C.Goo()", "C.Goo(int)"); 176await TestAsync(text, "N.C.Goo"); 177await TestAsync(text, "Goo<T>"); 178await TestAsync(text, "C<T>.Goo"); 179await TestAsync(text, "Goo()", "C.Goo()"); 180await TestAsync(text, "Goo(int i)", "C.Goo(int)"); 181await TestAsync(text, "Goo(int)", "C.Goo(int)"); 182await TestAsync(text, "Goo(i)", "C.Goo(int)"); 210await TestAsync(text, "Goo", "N1.C.Goo(int)", "N.C.Goo()"); 211await TestAsync(text, "goo"); 212await TestAsync(text, "C.Goo", "N1.C.Goo(int)", "N.C.Goo()"); 213await TestAsync(text, "N.C.Goo", "N.C.Goo()"); 214await TestAsync(text, "N1.C.Goo", "N1.C.Goo(int)"); 215await TestAsync(text, "Goo<T>"); 216await TestAsync(text, "C<T>.Goo"); 217await TestAsync(text, "Goo()", "N.C.Goo()"); 218await TestAsync(text, "Goo(int i)", "N1.C.Goo(int)"); 219await TestAsync(text, "Goo(int)", "N1.C.Goo(int)"); 220await TestAsync(text, "Goo(i)", "N1.C.Goo(int)"); 248await TestAsync(text, "Goo", "N1.C.Goo<T>(int)", "N.C.Goo()"); 249await TestAsync(text, "goo"); 250await TestAsync(text, "C.Goo", "N1.C.Goo<T>(int)", "N.C.Goo()"); 251await TestAsync(text, "N.C.Goo", "N.C.Goo()"); 252await TestAsync(text, "N1.C.Goo", "N1.C.Goo<T>(int)"); 253await TestAsync(text, "Goo<T>", "N1.C.Goo<T>(int)"); 254await TestAsync(text, "C<T>.Goo"); 255await TestAsync(text, "Goo()", "N.C.Goo()"); 256await TestAsync(text, "Goo<T>()"); 257await TestAsync(text, "Goo(int i)", "N1.C.Goo<T>(int)"); 258await TestAsync(text, "Goo(int)", "N1.C.Goo<T>(int)"); 259await TestAsync(text, "Goo(i)", "N1.C.Goo<T>(int)"); 260await TestAsync(text, "Goo<T>(int i)", "N1.C.Goo<T>(int)"); 261await TestAsync(text, "Goo<T>(int)", "N1.C.Goo<T>(int)"); 262await TestAsync(text, "Goo<T>(i)", "N1.C.Goo<T>(int)"); 285await TestAsync(text, "Goo", "C.Goo(int)", "C.Goo(int, [string])", "C.Goo(__arglist)"); 286await TestAsync(text, "goo"); 287await TestAsync(text, "C.Goo", "C.Goo(int)", "C.Goo(int, [string])", "C.Goo(__arglist)"); 288await TestAsync(text, "N.C.Goo"); 289await TestAsync(text, "Goo<T>"); 290await TestAsync(text, "C<T>.Goo"); 291await TestAsync(text, "Goo()", "C.Goo(__arglist)"); 292await TestAsync(text, "Goo(int i)", "C.Goo(int)"); 293await TestAsync(text, "Goo(int)", "C.Goo(int)"); 294await TestAsync(text, "Goo(int x = 42)", "C.Goo(int)"); 295await TestAsync(text, "Goo(i)", "C.Goo(int)"); 296await TestAsync(text, "Goo(int i, int b)", "C.Goo(int, [string])"); 297await TestAsync(text, "Goo(int, bool)", "C.Goo(int, [string])"); 298await TestAsync(text, "Goo(i, s)", "C.Goo(int, [string])"); 299await TestAsync(text, "Goo(,)", "C.Goo(int, [string])"); 300await TestAsync(text, "Goo(int x = 42,)", "C.Goo(int, [string])"); 301await TestAsync(text, "Goo(int x = 42, y = 42)", "C.Goo(int, [string])"); 302await TestAsync(text, "Goo([attr] x = 42, y = 42)", "C.Goo(int, [string])"); 303await TestAsync(text, "Goo(int i, int b, char c)"); 304await TestAsync(text, "Goo(int, bool, char)"); 305await TestAsync(text, "Goo(i, s, c)"); 306await TestAsync(text, "Goo(__arglist)", "C.Goo(int)"); 321await TestAsync(text, "Property1", "C.Property1"); 322await TestAsync(text, "Property2", "C.Property2"); 323await TestAsync(text, "Property3", "C.Property3"); 345await TestAsync(text, "AbstractMethod"); 346await TestAsync(text, "Field"); 347await TestAsync(text, "Delegate"); 348await TestAsync(text, "Event"); 349await TestAsync(text, "this"); 350await TestAsync(text, "C.this[int]"); 351await TestAsync(text, "C.get_Item"); 352await TestAsync(text, "C.get_Item(i)"); 353await TestAsync(text, "C[i]"); 354await TestAsync(text, "ABCD"); 355await TestAsync(text, "C.ABCD(int)"); 356await TestAsync(text, "42"); 357await TestAsync(text, "Goo", "C.Goo()", "C.Goo([int], [int])"); // just making sure it would normally resolve before trying bad syntax 358await TestAsync(text, "Goo Goo"); 359await TestAsync(text, "Goo()asdf"); 360await TestAsync(text, "Goo(),"); 361await TestAsync(text, "Goo(),f"); 362await TestAsync(text, "Goo().Goo"); 363await TestAsync(text, "Goo("); 364await TestAsync(text, "(Goo"); 365await TestAsync(text, "Goo)"); 366await TestAsync(text, "(Goo)"); 367await TestAsync(text, "Goo(x = 42, y = 42)", "C.Goo([int], [int])"); // just making sure it would normally resolve before trying bad syntax 368await TestAsync(text, "int x = 42"); 369await TestAsync(text, "Goo(int x = 42, y = 42"); 370await TestAsync(text, "C"); 371await TestAsync(text, "C.C"); 372await TestAsync(text, "~"); 373await TestAsync(text, "~C"); 374await TestAsync(text, "C.~C()"); 375await TestAsync(text, ""); 394await TestAsync(text, "C", "C.C()"); 395await TestAsync(text, "C.C", "C.C()"); 396await TestAsync(text, "C.C()", "C.C()"); 397await TestAsync(text, "C()", "C.C()"); 398await TestAsync(text, "C<T>"); 399await TestAsync(text, "C<T>()"); 400await TestAsync(text, "C(int i)"); 401await TestAsync(text, "C(int)"); 402await TestAsync(text, "C(i)"); 403await TestAsync(text, "G", "G<T>.G()"); 404await TestAsync(text, "G()", "G<T>.G()"); 405await TestAsync(text, "G.G", "G<T>.G()"); 406await TestAsync(text, "G.G()", "G<T>.G()"); 407await TestAsync(text, "G<T>.G", "G<T>.G()"); 408await TestAsync(text, "G<t>.G()", "G<T>.G()"); 409await TestAsync(text, "G<T>"); 410await TestAsync(text, "G<T>()"); 411await TestAsync(text, "G.G<T>"); 412await TestAsync(text, ".ctor"); 413await TestAsync(text, ".ctor()"); 414await TestAsync(text, "C.ctor"); 415await TestAsync(text, "C.ctor()"); 416await TestAsync(text, "G.ctor"); 417await TestAsync(text, "G<T>.ctor()"); 418await TestAsync(text, "Finalize", "G<T>.~G()"); 433await TestAsync(text, "C", "C.C()"); 434await TestAsync(text, "C.C", "C.C()"); 435await TestAsync(text, "C.C()", "C.C()"); 436await TestAsync(text, "C()", "C.C()"); 437await TestAsync(text, "C<T>"); 438await TestAsync(text, "C<T>()"); 439await TestAsync(text, "C(int i)"); 440await TestAsync(text, "C(int)"); 441await TestAsync(text, "C(i)"); 442await TestAsync(text, "C.cctor"); 443await TestAsync(text, "C.cctor()"); 462await TestAsync(text, "C", "C.C(int)", "C.C()"); 463await TestAsync(text, "C.C", "C.C(int)", "C.C()"); 464await TestAsync(text, "C.C()", "C.C()"); 465await TestAsync(text, "C()", "C.C()"); 466await TestAsync(text, "C<T>"); 467await TestAsync(text, "C<T>()"); 468await TestAsync(text, "C(int i)", "C.C(int)"); 469await TestAsync(text, "C(int)", "C.C(int)"); 470await TestAsync(text, "C(i)", "C.C(int)"); 493await TestAsync(text, "M1"); 494await TestAsync(text, "C.M1"); 495await TestAsync(text, "M2", "C.M2()"); 496await TestAsync(text, "M3", "C.M3(int)"); 497await TestAsync(text, "M3()"); 498await TestAsync(text, "M3(y)", "C.M3(int)"); 499await TestAsync(text, "M4", "C.M4()"); 512await TestAsync(text, "Goo;", "C.Goo()"); 513await TestAsync(text, 515await TestAsync(text, " Goo;", "C.Goo()"); 516await TestAsync(text, " Goo;;"); 517await TestAsync(text, " Goo; ;"); 518await TestAsync(text, 520await TestAsync(text, 522await TestAsync(text, 524await TestAsync(text, 543await TestAsync(text, "where", "@foreach.where(@true)"); 544await TestAsync(text, "@where", "@foreach.where(@true)"); 545await TestAsync(text, "@foreach.where", "@foreach.where(@true)"); 546await TestAsync(text, "foreach.where"); 547await TestAsync(text, "@foreach.where(true)"); 548await TestAsync(text, "@foreach.where(@if)", "@foreach.where(@true)"); 549await TestAsync(text, "false"); 563await TestAsync(text, "A::Goo"); 564await TestAsync(text, "A::Goo(A::B)"); 565await TestAsync(text, "A::Goo(A::B)"); 566await TestAsync(text, "A::C.Goo"); 567await TestAsync(text, "C.Goo(A::Q)", "C.Goo(D)"); 610await TestAsync(text, "Goo", "N1.N4.C.Goo(double)", "N1.N4.C.D.Goo()", "N1.N4.C.D.E.Goo()", "N1.C.Goo()"); 611await TestAsync(text, "C.Goo", "N1.N4.C.Goo(double)", "N1.C.Goo()"); 612await TestAsync(text, "D.Goo", "N1.N4.C.D.Goo()"); 613await TestAsync(text, "N1.N4.C.D.Goo", "N1.N4.C.D.Goo()"); 614await TestAsync(text, "N1.Goo"); 615await TestAsync(text, "N3.C.Goo"); 616await TestAsync(text, "N5.C.Goo"); 634await TestAsync(text, "Goo", "C1.Goo()"); 635await TestAsync(text, "I1.Goo"); 636await TestAsync(text, "C1.Goo", "C1.Goo()"); 637await TestAsync(text, "C1.I1.Moo");