53 references to VerifyFalse
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (53)
Extensions\ContextQuery\IsPossibleDeconstructionDesignationTests.cs (5)
58=> VerifyFalse(AddInsideMethod(@"var str = (($$)items) as string;")); 114=> VerifyFalse(AddInsideMethod(@"var $$")); 118=> VerifyFalse(AddInsideMethod(@"if (1 is int i $$")); 122=> VerifyFalse(AddInsideMethod(@"if (1 is int i $$);")); 126=> VerifyFalse(AddInsideMethod(@"switch (1) { case int i $$ }"));
Extensions\ContextQuery\NamespaceContextTests.cs (22)
31VerifyFalse(""" 40=> VerifyFalse(@"// $$"); 54=> VerifyFalse(@"/* $$ */"); 58=> VerifyFalse(@"/// $$"); 62=> VerifyFalse(@"/** $$ */"); 66=> VerifyFalse(AddInsideMethod("string s = \"$$")); 70=> VerifyFalse(AddInsideMethod("string s = \"$$\";")); 74=> VerifyFalse(AddInsideMethod("char c = '$$")); 126=> VerifyFalse(@"namespace $$"); 130=> VerifyFalse(@"namespace NS { $$"); 135VerifyFalse(""" 144=> VerifyFalse(@"[assembly: A.$$"); 152=> VerifyFalse(@"using $$ = System"); 178=> VerifyFalse(@"class CL<$$"); 182=> VerifyFalse(@"class CL<T, $$"); 222=> VerifyFalse(AddInsideMethod(@"foreach $$")); 258VerifyFalse(""" 538=> VerifyFalse(@"class CL<T> where T : A where$$"); 550=> VerifyFalse(@"class CL<T> : B where$$"); 558=> VerifyFalse(@"class C { C() : $$"); 562=> VerifyFalse(@"class C { void IGoo<$$"); 566=> VerifyFalse(@"class C { void IGoo<T,$$");
Extensions\ContextQuery\PossibleTupleContextTests.cs (3)
87=> VerifyFalse(@"$$"); 91=> VerifyFalse(AddInsideMethod(@"(int) $$")); 95=> VerifyFalse(AddInsideMethod(@"(Goo()) $$"));
Extensions\ContextQuery\TypeContextTests.cs (23)
26=> VerifyFalse(@"using $$"); 31VerifyFalse(""" 40=> VerifyFalse(@"// $$"); 54=> VerifyFalse(@"/* $$ */"); 58=> VerifyFalse(@"/// $$"); 62=> VerifyFalse(@"/** $$ */"); 66=> VerifyFalse(AddInsideMethod("string s = \"$$")); 70=> VerifyFalse(AddInsideMethod("string s = \"$$\";")); 74=> VerifyFalse(AddInsideMethod("char c = '$$")); 126=> VerifyFalse(@"namespace $$"); 130=> VerifyFalse(@"namespace NS { $$"); 135VerifyFalse(""" 144=> VerifyFalse(@"[assembly: A.$$"); 174=> VerifyFalse(@"class CL<$$"); 178=> VerifyFalse(@"class CL<T, $$"); 218=> VerifyFalse(AddInsideMethod(@"foreach $$")); 254VerifyFalse(""" 534=> VerifyFalse(@"class CL<T> where T : A where$$"); 546=> VerifyFalse(@"class CL<T> : B where$$"); 550=> VerifyFalse(AddInsideMethod(@"global::$$")); 554=> VerifyFalse(@"class C { C() : $$"); 558=> VerifyFalse(@"class C { void IGoo<$$"); 562=> VerifyFalse(@"class C { void IGoo<T,$$");