149 references to TestInMethodAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (149)
Classification\SemanticClassifierTests.cs (16)
51=> TestInMethodAsync( 1330=> TestInMethodAsync( 1375=> TestInMethodAsync(@"global::System.String.Clone("");", 1383=> TestInMethodAsync( 1420=> TestInMethodAsync( 2204=> TestInMethodAsync( 2223=> TestInMethodAsync( 2236=> TestInMethodAsync( 2249=> TestInMethodAsync( 2463=> TestInMethodAsync( 2590=> TestInMethodAsync(""" 2758=> await TestInMethodAsync(""" 2765=> TestInMethodAsync(@"var goo = $""goo{{1:0000}}bar"";", 2893=> TestInMethodAsync(""" 2907=> TestInMethodAsync(""" 3299=> TestInMethodAsync(
Classification\SemanticClassifierTests_StringEscapes.cs (35)
17=> TestInMethodAsync(@"var goo = ""goo\r\nbar"";", 25=> TestInMethodAsync(@"var goo = ""goo\r\nbar""u8;", 33=> TestInMethodAsync(@"var goo = @""goo\r\nbar"";", 39=> TestInMethodAsync(@"var goo = @""goo\r\nbar""u8;", 45=> TestInMethodAsync(@"var goo = $""goo{{1}}bar"";", 53=> TestInMethodAsync(@"var goo = $""goo{{1}}bar""u8;", 61=> TestInMethodAsync(@"var goo = $@""goo{{1}}bar"";", 69=> TestInMethodAsync(@"var goo = $@""goo{{1}}bar""u8;", 77=> TestInMethodAsync(@"var goo = $""goo\r{{1}}\nbar"";", 87=> TestInMethodAsync(@"var goo = $""goo\r{{1}}\nbar""u8;", 97=> TestInMethodAsync(@"var goo = $@""goo\r{{1}}\nbar"";", 105=> TestInMethodAsync(@"var goo = $@""goo\r{{1}}\nbar""u8;", 113=> TestInMethodAsync(@"var goo = $""goo\r{1}\nbar"";", 121=> TestInMethodAsync(@"var goo = $""goo\r{1}\nbar""u8;", 129=> TestInMethodAsync(@"var goo = $@""{{goo{1}bar}}"";", 137=> TestInMethodAsync(@"var goo = $@""{{goo{1}bar}}""u8;", 145=> TestInMethodAsync(@"var goo = $@""{{{12:X}}}"";", 153=> TestInMethodAsync(@"var goo = $@""{{{12:X}}}""u8;", 161=> TestInMethodAsync(@"var goo = """"""goo\r\nbar"""""";", 167=> TestInMethodAsync(@"var goo = """"""goo\r\nbar""""""u8;", 173=> TestInMethodAsync("""" 183=> TestInMethodAsync("""" 193=> TestInMethodAsync("""" 203=> TestInMethodAsync("""" 213=> TestInMethodAsync(@"var goo = """"""\"""""";", 219=> TestInMethodAsync(@"var goo = """"""\""""""u8;", 225=> TestInMethodAsync("""" 235=> TestInMethodAsync("""" 245=> TestInMethodAsync("""" 255=> TestInMethodAsync("""" 266=> TestInMethodAsync(@"var goo = '\n';", 274=> TestInMethodAsync(@"var goo = '\\';", 282=> TestInMethodAsync(@"var goo = '\'';", 290=> TestInMethodAsync(@"var goo = '""';", 297=> TestInMethodAsync(@"var goo = '\u000a';",
Classification\SyntacticClassifierTests.cs (41)
74=> TestInMethodAsync("var goo = 42", 83=> TestInMethodAsync("var", 95=> TestInMethodAsync( 214=> TestInMethodAsync("yield return 42", 222=> TestInMethodAsync( 324=> TestInMethodAsync( 385=> TestInMethodAsync(""" 395=> TestInMethodAsync(@"@""goo""u8", 404=> TestInMethodAsync(@"@""goo""U8", 459=> TestInMethodAsync(""" 478=> TestInMethodAsync(""" 498=> TestInMethodAsync(""" 648=> TestInMethodAsync(@"'f'", 676=> TestInMethodAsync(@"from it in ", 1546=> TestInMethodAsync( 2339=> TestInMethodAsync("goo:", 2381=> TestInMethodAsync( 2391=> TestInMethodAsync( 2410=> TestInMethodAsync( 4237=> TestInMethodAsync(""" 4268=> TestInMethodAsync(""" 4310=> TestInMethodAsync(""" 4352=> TestInMethodAsync(""" 4376=> TestInMethodAsync(""" 4405=> TestInMethodAsync(""" 4620=> TestInMethodAsync(""" 5016=> TestInMethodAsync(""" 5040=> TestInMethodAsync(""" 5069=> TestInMethodAsync(""" 5091=> TestInMethodAsync(""" 5136=> TestInMethodAsync(""" 5164=> TestInMethodAsync(""" 5202=> TestInMethodAsync(""" 5307=> TestInMethodAsync(""" 5337=> TestInMethodAsync(""" 5356=> TestInMethodAsync(""" 6653=> TestInMethodAsync(@"interface I { void F(scoped R r); }", 6670=> TestInMethodAsync(@"scoped var v;", 6679=> TestInMethodAsync(@"F(x, out scoped R y);", 6792=> TestInMethodAsync("var lam = (params int[] xs) => xs.Length;", 6812=> TestInMethodAsync("var lam = (int a, int b = 1, params int[] xs, params int[] ys.Length) => { };",
Classification\SyntacticClassifierTests_Preprocessor.cs (26)
19=> TestInMethodAsync(""" 32=> TestInMethodAsync(""" 46=> TestInMethodAsync(""" 59=> TestInMethodAsync(""" 72=> TestInMethodAsync(""" 86=> TestInMethodAsync(""" 100=> TestInMethodAsync(""" 114=> TestInMethodAsync(""" 129=> TestInMethodAsync(""" 144=> TestInMethodAsync(""" 159=> TestInMethodAsync(""" 174=> TestInMethodAsync(""" 189=> TestInMethodAsync(""" 206=> TestInMethodAsync(""" 223=> TestInMethodAsync(""" 240=> TestInMethodAsync(""" 1035=> TestInMethodAsync( 1043=> TestInMethodAsync( 1051=> TestInMethodAsync( 1060=> TestInMethodAsync( 1069=> TestInMethodAsync( 1079=> TestInMethodAsync( 1087=> TestInMethodAsync( 1094=> TestInMethodAsync( 1102=> TestInMethodAsync( 1110=> TestInMethodAsync(code: @"int _; _ = 1;",
Classification\TotalClassifierTests.cs (6)
283=> TestInMethodAsync(@"foreach (var v in args) { }", 447=> TestInMethodAsync( 1009=> TestInMethodAsync( 1030=> TestInMethodAsync(""" 1491=> TestInMethodAsync(""" 2114=> TestInMethodAsync(@"var goo = $@""{{{12:X}}}"";",
Classification\TotalClassifierTests_Dynamic.cs (25)
31=> TestInMethodAsync( 45=> TestInMethodAsync(@"dynamic.Equals(1, 1);", 59=> TestInMethodAsync(@"dynamic? a", 180=> TestInMethodAsync( 326=> TestInMethodAsync(@"var v = from dynamic in names", 338=> TestInMethodAsync( 362=> TestInMethodAsync( 382=> TestInMethodAsync( 615=> TestInMethodAsync(@"typeof(dynamic)", 653=> TestInMethodAsync(@"foreach (dynamic dynamic in dynamic", 664=> TestInMethodAsync(@"using(dynamic d", 673=> TestInMethodAsync( 732=> TestInMethodAsync( 743=> TestInMethodAsync( 762=> TestInMethodAsync( 848=> TestInMethodAsync(@"dynamic d", 855=> TestInMethodAsync(@"dynamic[] d", 864=> TestInMethodAsync( 887=> TestInMethodAsync( 902=> TestInMethodAsync( 916=> TestInMethodAsync(@"if (a is dynamic)", 927=> TestInMethodAsync(@"a = a as dynamic", 937=> TestInMethodAsync( 957=> TestInMethodAsync( 1012=> TestInMethodAsync(