7 references to TestIsValidAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (7)
Debugging\ProximityExpressionsGetterTests.cs (7)
133=> await TestIsValidAsync("class Class { void Method() { string local;$$ } }", "local", true);
139await TestIsValidAsync("class Class { void Method() { string local; } $$}", "local", false);
144=> await TestIsValidAsync("class Class { void Method() { $$int i; int j; } }", "j", false);
148=> await TestIsValidAsync("class Class { void Method() { $$int i; int j; } }", "k", false);
152=> await TestIsValidAsync("namespace Namespace$$ { }", "goo", false);
156=> await TestIsValidAsync("class Class { void Method() { $$ int i; string local; } }", "local", false);
455await TestIsValidAsync(@"