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