36 references to TestTryDoInMainAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (36)
Debugging\ProximityExpressionsGetterTests.cs (36)
187await TestTryDoInMainAsync(@"
208await TestTryDoInMainAsync(@"int i = 3;
229await TestTryDoInMainAsync(@"label: int i = 3;
237await TestTryDoInMainAsync(@"e = new Exception();
245await TestTryDoInMainAsync(@"do$$ { } while (true);
252await TestTryDoInMainAsync(@"lock(typeof(Cl$$ass)) { };
259await TestTryDoInMainAsync(@"while(DateTime.Now <$$ DateTime.Now) { };
266await TestTryDoInMainAsync(@"for(int i = 0; i < 10; i$$++) { }
273await TestTryDoInMainAsync(@"int i = 0;
293await TestTryDoInMainAsync(@"using (FileStream fs = new FileStream($$)) { }
384await TestTryDoInMainAsync(@"try { }
406await TestTryDoInMainAsync(@"try { }
427await TestTryDoInMainAsync(@"try { }
448await TestTryDoInMainAsync(@"$$Goo(new Bar(a).Baz);
507await TestTryDoInMainAsync(@"for(int i = 0; i < 5; i++)
517await TestTryDoInMainAsync(@"int i = 0, j = 0, k = 0, m = 0, n = 0;
530await TestTryDoInMainAsync(@"int i = 0, j = 0, k = 0, m = 0;
543await TestTryDoInMainAsync(@"int i = 0, j = 0, k = 0, m = 0;
553await TestTryDoInMainAsync(@"foreach (var x in new int[] { 1, 2, 3 })
563await TestTryDoInMainAsync(@"foreach (var x in new int[] { 1, 2, 3 })
571await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0;
586await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0;
601await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0;
616await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0;
636await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0;
651await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0;
666await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0;
681await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0;
701await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0;
716await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0;
741await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0;
766await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0;
795await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0;
810await TestTryDoInMainAsync(@"int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0;
825await TestTryDoInMainAsync(@"int i = 0, j = 0, k = 0, m = 0;
838await TestTryDoInMainAsync(@"int a = 1;