128 references to AssertLineTextAroundCaret
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (128)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (2)
9093Await state.AssertLineTextAroundCaret(expectedTextBeforeCaret:=" scoped MyRefStruct ", expectedTextAfterCaret:="") 9134Await state.AssertLineTextAroundCaret(expectedTextBeforeCaret:="scoped MyRefStruct ", expectedTextAfterCaret:="")
IntelliSense\CSharpCompletionCommandHandlerTests_AwaitCompletion.vb (14)
526Await state.AssertLineTextAroundCaret(" await Task.CompletedTask", "") 560Await state.AssertLineTextAroundCaret(" await Task.CompletedTask", "") 598Await state.AssertLineTextAroundCaret(" await Task.CompletedTask.ConfigureAwait(false)", "") 677Await state.AssertLineTextAroundCaret($" {committed}", "") 687Await state.AssertLineTextAroundCaret($" {committed}", "") 699Await state.AssertLineTextAroundCaret($" {committed}", "") 709Await state.AssertLineTextAroundCaret($" {committed}", "") 815Await state.AssertLineTextAroundCaret($" {committedAwait.Substring(0, committedCursorPosition)}", committedAwait.Substring(committedCursorPosition)) 845Await state.AssertLineTextAroundCaret($" {committedAwaitfBeforeCursor}.ConfigureAwait(false)", committedAwaitfAfterCursor) 882Await state.AssertLineTextAroundCaret(" await Task.CompletedTask.ConfigureAwait(false)", "") 918Await state.AssertLineTextAroundCaret(" await Task.CompletedTask.ConfigureAwait(false)", "ConfigureAwait(false);") 993Await state.AssertLineTextAroundCaret(" var z = from i1 in await arrayTask2", "") 1035Await state.AssertLineTextAroundCaret(" var z = from i1 in await arrayTask2.ConfigureAwait(false)", "") 1091Await state.AssertLineTextAroundCaret(" await c!.SomeTask!.ConfigureAwait(false)", ";")
IntelliSense\CSharpCompletionCommandHandlerTests_Regex.vb (1)
168Await state.AssertLineTextAroundCaret(" var r = new Regex(@""[^", "-]"");")
IntelliSense\CSharpCompletionCommandHandlerTests_XmlDoc.vb (53)
27Await state.AssertLineTextAroundCaret(" /// summary", "") 51Await state.AssertLineTextAroundCaret(" /// summary", "") 75Await state.AssertLineTextAroundCaret(" /// summary>", "") 99Await state.AssertLineTextAroundCaret(" /// <summary", "") 123Await state.AssertLineTextAroundCaret(" /// <summary", "") 147Await state.AssertLineTextAroundCaret(" /// <summary>", "") 171Await state.AssertLineTextAroundCaret(" /// remarks>", "") 195Await state.AssertLineTextAroundCaret(" /// <remarks>", "") 219Await state.AssertLineTextAroundCaret(" /// returns>", "") 243Await state.AssertLineTextAroundCaret(" /// <returns>", "") 267Await state.AssertLineTextAroundCaret(" /// example>", "") 291Await state.AssertLineTextAroundCaret(" /// <example>", "") 315Await state.AssertLineTextAroundCaret(" /// <exception cref=""", """") 339Await state.AssertLineTextAroundCaret(" /// <exception cref="">", """") 362Await state.AssertLineTextAroundCaret(" /// <!--", "-->") 384Await state.AssertLineTextAroundCaret(" /// <!-->", "-->") 407Await state.AssertLineTextAroundCaret(" /// <![CDATA[", "]]>") 430Await state.AssertLineTextAroundCaret(" /// <![CDATA[>", "]]>") 454Await state.AssertLineTextAroundCaret(" /// <include file='", "' path='[@name=""""]'/>") 478Await state.AssertLineTextAroundCaret(" /// <include file='>", "' path='[@name=""""]'/>") 502Await state.AssertLineTextAroundCaret(" /// <permission cref=""", """") 526Await state.AssertLineTextAroundCaret(" /// <permission cref="">", """") 550Await state.AssertLineTextAroundCaret(" /// <see cref=""", """/>") 574Await state.AssertLineTextAroundCaret(" /// <see cref="">", """/>") 599Await state.AssertLineTextAroundCaret(" /// <see cref=""", """/>") 624Await state.AssertLineTextAroundCaret(" /// <see cref=""", """/>") 693Await state.AssertLineTextAroundCaret(" /// <see langword=""" + keyword + """/>", "") 717Await state.AssertLineTextAroundCaret(" /// <seealso cref=""", """/>") 741Await state.AssertLineTextAroundCaret(" /// <seealso cref="">", """/>") 765Await state.AssertLineTextAroundCaret(" /// <param name=""bar""", "") 784Await state.AssertLineTextAroundCaret("/// <param name=""I""", "") 803Await state.AssertLineTextAroundCaret("/// <param name=""I""", "") 822Await state.AssertLineTextAroundCaret("/// <param name=""I""", "") 846Await state.AssertLineTextAroundCaret(" /// param name=""bar""", "") 870Await state.AssertLineTextAroundCaret(" /// param name=""bar""", "") 894Await state.AssertLineTextAroundCaret(" /// param name=""bar"">", "") 918Await state.AssertLineTextAroundCaret(" /// <param name=""bar""", "") 942Await state.AssertLineTextAroundCaret(" /// <param name=""bar""", "") 966Await state.AssertLineTextAroundCaret(" /// <param name=""bar"">", "") 990Await state.AssertLineTextAroundCaret(" /// typeparam name=""T""", "") 1014Await state.AssertLineTextAroundCaret(" /// typeparam name=""T""", "") 1038Await state.AssertLineTextAroundCaret(" /// typeparam name=""T"">", "") 1062Await state.AssertLineTextAroundCaret(" /// <typeparam name=""T""", "") 1086Await state.AssertLineTextAroundCaret(" /// <typeparam name=""T""", "") 1110Await state.AssertLineTextAroundCaret(" /// <typeparam name=""T"">", "") 1136Await state.AssertLineTextAroundCaret(" /// <list type=""", """") 1162Await state.AssertLineTextAroundCaret(" /// <list type="">", """") 1187Await state.AssertLineTextAroundCaret(" /// <summary>", "") 1213Await state.AssertLineTextAroundCaret(" /// <summary>", "") 1239Await state.AssertLineTextAroundCaret(" /// <summary>", "") 1261Await state.AssertLineTextAroundCaret(" /// <param name=""", "") 1287Await state.AssertLineTextAroundCaret(" /// <param ", "") 1340Await state.AssertLineTextAroundCaret(" /// This is from <see cref=""MyClassLongDescription", """/>")
IntelliSense\VisualBasicCompletionCommandHandlerTests_AwaitCompletion.vb (9)
453Await state.AssertLineTextAroundCaret(" Await Task.CompletedTask", "") 483Await state.AssertLineTextAroundCaret(" Await Task.CompletedTask", "") 517Await state.AssertLineTextAroundCaret(" Await Task.CompletedTask.ConfigureAwait(False)", "") 590Await state.AssertLineTextAroundCaret($" {committed}", "") 600Await state.AssertLineTextAroundCaret($" {committed}", "") 612Await state.AssertLineTextAroundCaret($" {committed}", "") 622Await state.AssertLineTextAroundCaret($" {committed}", "") 658Await state.AssertLineTextAroundCaret(" Dim qry = From i in Await arrayTask1", "") 694Await state.AssertLineTextAroundCaret(" Dim qry = From i in Await arrayTask1.ConfigureAwait(False)", "")
IntelliSense\VisualBasicCompletionCommandHandlerTests_Regex.vb (1)
53Await state.AssertLineTextAroundCaret(" dim r = New Regex(""[^", "-]"")")
IntelliSense\VisualBasicCompletionCommandHandlerTests_XmlDoc.vb (48)
28Await state.AssertLineTextAroundCaret(" ''' summary", "") 52Await state.AssertLineTextAroundCaret(" ''' summary", "") 76Await state.AssertLineTextAroundCaret(" ''' summary>", "") 100Await state.AssertLineTextAroundCaret(" ''' <summary", "") 124Await state.AssertLineTextAroundCaret(" ''' <summary", "") 148Await state.AssertLineTextAroundCaret(" ''' <summary>", "") 172Await state.AssertLineTextAroundCaret(" ''' remarks>", "") 196Await state.AssertLineTextAroundCaret(" ''' <remarks>", "") 220Await state.AssertLineTextAroundCaret(" ''' returns>", "") 244Await state.AssertLineTextAroundCaret(" ''' <returns>", "") 268Await state.AssertLineTextAroundCaret(" ''' example>", "") 292Await state.AssertLineTextAroundCaret(" ''' <example>", "") 316Await state.AssertLineTextAroundCaret(" ''' <exception cref=""", """") 340Await state.AssertLineTextAroundCaret(" ''' <exception cref="">", """") 362Await state.AssertLineTextAroundCaret(" ''' <!--", "-->") 384Await state.AssertLineTextAroundCaret(" ''' <!-->", "-->") 406Await state.AssertLineTextAroundCaret(" ''' <![CDATA[", "]]>") 428Await state.AssertLineTextAroundCaret(" ''' <![CDATA[>", "]]>") 452Await state.AssertLineTextAroundCaret(" ''' <include file='", "' path='[@name=""""]'/>") 476Await state.AssertLineTextAroundCaret(" ''' <include file='>", "' path='[@name=""""]'/>") 500Await state.AssertLineTextAroundCaret(" ''' <permission cref=""", """") 524Await state.AssertLineTextAroundCaret(" ''' <permission cref="">", """") 548Await state.AssertLineTextAroundCaret(" ''' <see cref=""", """/>") 572Await state.AssertLineTextAroundCaret(" ''' <see cref="">", """/>") 596Await state.AssertLineTextAroundCaret(" ''' <see cref=""", """/>") 671Await state.AssertLineTextAroundCaret(" ''' <see langword=""" + keyword + """/>", "") 695Await state.AssertLineTextAroundCaret(" ''' <seealso cref=""", """/>") 719Await state.AssertLineTextAroundCaret(" ''' <seealso cref="">", """/>") 743Await state.AssertLineTextAroundCaret(" ''' <param name=""bar""", "") 767Await state.AssertLineTextAroundCaret(" ''' param name=""bar""", "") 791Await state.AssertLineTextAroundCaret(" ''' param name=""bar""", "") 815Await state.AssertLineTextAroundCaret(" ''' param name=""bar"">", "") 839Await state.AssertLineTextAroundCaret(" ''' <param name=""bar""", "") 863Await state.AssertLineTextAroundCaret(" ''' <param name=""bar""", "") 887Await state.AssertLineTextAroundCaret(" ''' <param name=""bar"">", "") 911Await state.AssertLineTextAroundCaret(" ''' typeparam name=""T""", "") 935Await state.AssertLineTextAroundCaret(" ''' typeparam name=""T""", "") 959Await state.AssertLineTextAroundCaret(" ''' typeparam name=""T"">", "") 983Await state.AssertLineTextAroundCaret(" ''' <typeparam name=""T""", "") 1007Await state.AssertLineTextAroundCaret(" ''' <typeparam name=""T""", "") 1031Await state.AssertLineTextAroundCaret(" ''' <typeparam name=""T"">", "") 1057Await state.AssertLineTextAroundCaret(" ''' <list type=""", """") 1083Await state.AssertLineTextAroundCaret(" ''' <list type="">", """") 1108Await state.AssertLineTextAroundCaret(" ''' <summary>", "") 1134Await state.AssertLineTextAroundCaret(" ''' <summary>", "") 1160Await state.AssertLineTextAroundCaret(" ''' <summary>", "") 1182Await state.AssertLineTextAroundCaret(" ''' <param name=""", "") 1208Await state.AssertLineTextAroundCaret(" ''' <param ", "")