71 references to VerifyProviderCommitAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (71)
Completion\CompletionProviders\CrefCompletionProviderTests.cs (4)
278
await
VerifyProviderCommitAsync
(text, "Enumerator", expected, ' ');
344
await
VerifyProviderCommitAsync
(text, "@void", expected, ' ');
409
await
VerifyProviderCommitAsync
(text, "List{T}", expected, '{');
432
await
VerifyProviderCommitAsync
(text, "goo(int)", expected, '(');
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProviderTests.cs (1)
1771
await
VerifyProviderCommitAsync
(markup, "E.A", expected, ';');
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProviderTests.cs (32)
144
await
VerifyProviderCommitAsync
(markup, "Goo()", expected, null);
461
await
VerifyProviderCommitAsync
(markup, "Generic<K, V>(K key, V value)", expected, '\t');
491
await
VerifyProviderCommitAsync
(markup, "Generic<K, V>(K key, V value)", expected, '<');
524
await
VerifyProviderCommitAsync
(markup, "Generic(K key, V value)", expected, '\t');
587
await
VerifyProviderCommitAsync
(markup, "this[K key, V value]", expected, '\t');
617
await
VerifyProviderCommitAsync
(markup, "this[K key, V value]", expected, '[');
647
await
VerifyProviderCommitAsync
(markup, "this[K key, V value]", expected, '\t');
677
await
VerifyProviderCommitAsync
(markup, "this[K key, V value]", expected, '[');
724
await
VerifyProviderCommitAsync
(markup, $"M({refKind} S s)", expected, '\t');
757
await
VerifyProviderCommitAsync
(markup, "operator int(Test2 x)", expected, '\t');
792
await
VerifyProviderCommitAsync
(markup, "operator true(C x)", expected, '\t');
825
await
VerifyProviderCommitAsync
(markup, "operator +(C x)", expected, '\t');
858
await
VerifyProviderCommitAsync
(markup, "operator +(C x, C y)", expected, '\t');
891
await
VerifyProviderCommitAsync
(markup, "M(params string[] args)", expected, '\t');
928
await
VerifyProviderCommitAsync
(markup, "M(params IEnumerable<string> args)", expected, '\t');
965
await
VerifyProviderCommitAsync
(markup, "M<T>(T? x)", expected, '\t');
998
await
VerifyProviderCommitAsync
(markup, "M(string @class)", expected, '\t');
1031
await
VerifyProviderCommitAsync
(markup, "M<@class>()", expected, '\t');
1063
await
VerifyProviderCommitAsync
(markup, "M(int x)", expected, '\t');
1100
await
VerifyProviderCommitAsync
(markup, "operator checked -(C x)", expected, '\t');
1137
await
VerifyProviderCommitAsync
(markup, "operator checked +(C x, C y)", expected, '\t');
1174
await
VerifyProviderCommitAsync
(markup, "operator checked string(C3 x)", expected, '\t');
1326
await
VerifyProviderCommitAsync
(markup, "Generic<K, V>(K key, V value)", expected, '\t');
1361
await
VerifyProviderCommitAsync
(markup, "operator true(C x)", expected, '\t');
1394
await
VerifyProviderCommitAsync
(markup, "Goo(ref int a, out int b)", expected, '\t');
1424
await
VerifyProviderCommitAsync
(markup, "Goo", expected, '\t');
1467
await
VerifyProviderCommitAsync
(markup, "Goo", expected, '\t');
1497
await
VerifyProviderCommitAsync
(markup, "Goo", expected, '\t');
1540
await
VerifyProviderCommitAsync
(markup, "Goo", expected, '\t');
1570
await
VerifyProviderCommitAsync
(markup, "this[int a, C b]", expected, '\t');
1642
await
VerifyProviderCommitAsync
(markup, "Method()", expected, '\t');
1717
await
VerifyProviderCommitAsync
(markup, "Method1()", expected, '\t');
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.cs (1)
1981
await
VerifyProviderCommitAsync
(markup, "ToInt", expected, commitChar: commitChar, sourceCodeKind: SourceCodeKind.Regular);
Completion\CompletionProviders\KeywordCompletionProviderTests.cs (3)
303
await
VerifyProviderCommitAsync
(markupBeforeCommit, "get", expectedCodeAfterCommit, commitChar: ';');
326
await
VerifyProviderCommitAsync
(markupBeforeCommit, "set", expectedCodeAfterCommit, commitChar: ';');
349
await
VerifyProviderCommitAsync
(markupBeforeCommit, "return", expectedCodeAfterCommit, commitChar: ';');
Completion\CompletionProviders\NamedParameterCompletionProviderTests.cs (2)
501
await
VerifyProviderCommitAsync
(markup, "args:", expected, ':');
526
await
VerifyProviderCommitAsync
(markup, "args:", expected, ':');
Completion\CompletionProviders\ObjectCreationCompletionProviderTests.cs (10)
222
await
VerifyProviderCommitAsync
(markup, "D", expected, '(');
334
await
VerifyProviderCommitAsync
(markup, "object", expected, '(');
362
await
VerifyProviderCommitAsync
(markup, "object", expected, '(');
386
await
VerifyProviderCommitAsync
(markup, "object", expected, '{');
414
await
VerifyProviderCommitAsync
(markup, "object", expected, '{');
695
await
VerifyProviderCommitAsync
(markup, "object", expectedMark, commitChar: commitChar);
719
await
VerifyProviderCommitAsync
(markup, "object", expectedMark, commitChar: commitChar);
743
await
VerifyProviderCommitAsync
(markup, "string", expectedMark, commitChar: commitChar);
769
await
VerifyProviderCommitAsync
(markup, "List<int>", expectedMark, commitChar: commitChar);
787
await
VerifyProviderCommitAsync
(markup, "List<int>", expectedMark, commitChar: ';');
Completion\CompletionProviders\PartialTypeCompletionProviderTests.cs (7)
78
await
VerifyProviderCommitAsync
(text, "C<Bar>", expected, '<');
100
await
VerifyProviderCommitAsync
(text, "C<Bar>", expected, null);
118
await
VerifyProviderCommitAsync
(text, "C<T>", expected, ' ');
257
await
VerifyProviderCommitAsync
(text, "C1<T>", expected, null);
295
await
VerifyProviderCommitAsync
(text, "@class", expected, null);
313
await
VerifyProviderCommitAsync
(text, "@class<T>", expected, null);
331
await
VerifyProviderCommitAsync
(text, "I<out T>", expected, null);
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (7)
12320
await
VerifyProviderCommitAsync
(markup, "Foo", expected, commitChar: commitChar);
12356
await
VerifyProviderCommitAsync
(markup, "Foo", expected, commitChar: commitChar);
12396
await
VerifyProviderCommitAsync
(markup, "Foo", expected, commitChar: commitChar);
12422
await
VerifyProviderCommitAsync
(markup, "Program", expected, commitChar: commitChar);
12448
await
VerifyProviderCommitAsync
(markup, "Program", expected, commitChar: commitChar);
12482
await
VerifyProviderCommitAsync
(markup, "String2", expected, commitChar: commitChar);
12512
await
VerifyProviderCommitAsync
(markup, "Bar", expected, commitChar: ';');
Completion\CompletionProviders\TypeImportCompletionProviderTests.cs (3)
1603
await
VerifyProviderCommitAsync
(markup, "C", expected, commitChar: commitChar, sourceCodeKind: SourceCodeKind.Regular);
1648
await
VerifyProviderCommitAsync
(markup, "C", expected, commitChar: commitChar, sourceCodeKind: SourceCodeKind.Regular);
1693
await
VerifyProviderCommitAsync
(markup, "MyClass", expectedCodeAfterCommit, commitChar: null, sourceCodeKind: kind);
Completion\CompletionProviders\XmlDocumentationCommentCompletionProviderTests.cs (1)
789
await
VerifyProviderCommitAsync
(text, "langword", expected, null);