35 references to CheckReturn
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (35)
AutomaticCompletion\AutomaticBraceCompletionTests.cs (34)
99CheckReturn(session.Session, 12, expected); 223CheckReturn(session.Session, 0, expected); 424CheckReturn(session.Session, 4); 464CheckReturn(session.Session, 12, expectedAfterReturn); 504CheckReturn(session.Session, 12, expectedAfterReturn); 544CheckReturn(session.Session, 12, expectedAfterReturn); 641CheckReturn(session.Session, 12, expectedAfterReturn); 684CheckReturn(session.Session, 12, expectedAfterReturn); 724CheckReturn(session.Session, 12, expectedAfterReturn); 756CheckReturn(session.Session, 12, expected); 793CheckReturn(session.Session, 12, expected); 826CheckReturn(session.Session, 12, expected); 869CheckReturn(session.Session, 12, expected); 908CheckReturn(session.Session, 12, expected); 941CheckReturn(session.Session, 12, expected); 970CheckReturn(session.Session, 12, expected); 1003CheckReturn(session.Session, 12, expected); 1032CheckReturn(session.Session, 12, expected); 1064CheckReturn(session.Session, 12, expected); 1093CheckReturn(session.Session, 12, expected); 1132CheckReturn(session.Session, 4, expectedAfterReturn); 1198CheckReturn(session.Session, 8, expectedAfterReturn); 1242CheckReturn(session.Session, 8, expectedAfterReturn); 1283CheckReturn(session.Session, 0, expected); 1330CheckReturn(session.Session, 4, expected); 1346CheckReturn(session.Session, 4, result: "class C\r{\r\r}"); 1389CheckReturn(session.Session, 12, expected); 1433CheckReturn(session.Session, bracesOnNewLine ? 16 : 12, expected); 1477CheckReturn(session.Session, 12, expected); 1521CheckReturn(session.Session, 12, expected); 1565CheckReturn(session.Session, 12, expected); 1610CheckReturn(session.Session, 12, expected); 1661CheckReturn(session.Session, 12, expected); 1691CheckReturn(session.Session, 0, expectedAfterReturn);
AutomaticCompletion\AutomaticBracketCompletionTests.cs (1)
290CheckReturn(session.Session, 12, expected);