25 references to VerifySendEnterThroughToEnterAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (25)
Completion\CompletionProviders\AttributeNamedParameterCompletionProviderTests.cs (3)
43
await
VerifySendEnterThroughToEnterAsync
(markup, "Color =", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
44
await
VerifySendEnterThroughToEnterAsync
(markup, "Color =", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
45
await
VerifySendEnterThroughToEnterAsync
(markup, "Color =", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
Completion\CompletionProviders\KeywordCompletionProviderTests.cs (3)
33
await
VerifySendEnterThroughToEnterAsync
("$$", "class", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
34
await
VerifySendEnterThroughToEnterAsync
("$$", "class", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
35
await
VerifySendEnterThroughToEnterAsync
("$$", "class", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
Completion\CompletionProviders\NamedParameterCompletionProviderTests.cs (3)
38
await
VerifySendEnterThroughToEnterAsync
(markup, "a:", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
39
await
VerifySendEnterThroughToEnterAsync
(markup, "a:", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
40
await
VerifySendEnterThroughToEnterAsync
(markup, "a:", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
Completion\CompletionProviders\ObjectCreationCompletionProviderTests.cs (3)
160
await
VerifySendEnterThroughToEnterAsync
(markup, "D", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
161
await
VerifySendEnterThroughToEnterAsync
(markup, "D", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
162
await
VerifySendEnterThroughToEnterAsync
(markup, "D", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
Completion\CompletionProviders\ReferenceDirectiveCompletionProviderTests.cs (1)
70
=> await
VerifySendEnterThroughToEnterAsync
("#r \"System$$", "System", enterKeyRule, expected: false);
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (6)
114
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcu", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
115
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcut", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
117
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcu", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: false);
118
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcut", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
120
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcu", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
121
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcut", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
Completion\CompletionProviders\SpeculativeTCompletionProviderTests.cs (3)
49
await
VerifySendEnterThroughToEnterAsync
(markup, "T", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
50
await
VerifySendEnterThroughToEnterAsync
(markup, "T", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
51
await
VerifySendEnterThroughToEnterAsync
(markup, "T", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
Completion\CompletionProviders\SymbolCompletionProviderTests_NoInteractive.cs (3)
63
await
VerifySendEnterThroughToEnterAsync
("class C { void M() { System.Console.$$", "Beep", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
64
await
VerifySendEnterThroughToEnterAsync
("class C { void M() { System.Console.$$", "Beep", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
65
await
VerifySendEnterThroughToEnterAsync
("class C { void M() { System.Console.$$", "Beep", sendThroughEnterOption: EnterKeyRule.Always, expected: true);