25 references to VerifySendEnterThroughToEnterAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (25)
Completion\CompletionProviders\AttributeNamedParameterCompletionProviderTests.cs (3)
42
await
VerifySendEnterThroughToEnterAsync
(markup, "Color =", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
43
await
VerifySendEnterThroughToEnterAsync
(markup, "Color =", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
44
await
VerifySendEnterThroughToEnterAsync
(markup, "Color =", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
Completion\CompletionProviders\KeywordCompletionProviderTests.cs (3)
32
await
VerifySendEnterThroughToEnterAsync
("$$", "class", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
33
await
VerifySendEnterThroughToEnterAsync
("$$", "class", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
34
await
VerifySendEnterThroughToEnterAsync
("$$", "class", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
Completion\CompletionProviders\NamedParameterCompletionProviderTests.cs (3)
37
await
VerifySendEnterThroughToEnterAsync
(markup, "a:", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
38
await
VerifySendEnterThroughToEnterAsync
(markup, "a:", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
39
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)
72
=> await
VerifySendEnterThroughToEnterAsync
("#r \"System$$", "System", enterKeyRule, expected: false);
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (6)
112
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcu", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
113
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcut", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
115
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcu", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: false);
116
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcut", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
118
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcu", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
119
await
VerifySendEnterThroughToEnterAsync
("$$", "SnippetShortcut", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
Completion\CompletionProviders\SpeculativeTCompletionProviderTests.cs (3)
48
await
VerifySendEnterThroughToEnterAsync
(markup, "T", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
49
await
VerifySendEnterThroughToEnterAsync
(markup, "T", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
50
await
VerifySendEnterThroughToEnterAsync
(markup, "T", sendThroughEnterOption: EnterKeyRule.Always, expected: true);
Completion\CompletionProviders\SymbolCompletionProviderTests_NoInteractive.cs (3)
64
await
VerifySendEnterThroughToEnterAsync
("class C { void M() { System.Console.$$", "Beep", sendThroughEnterOption: EnterKeyRule.Never, expected: false);
65
await
VerifySendEnterThroughToEnterAsync
("class C { void M() { System.Console.$$", "Beep", sendThroughEnterOption: EnterKeyRule.AfterFullyTypedWord, expected: true);
66
await
VerifySendEnterThroughToEnterAsync
("class C { void M() { System.Console.$$", "Beep", sendThroughEnterOption: EnterKeyRule.Always, expected: true);