File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
src/EditorFeatures/Test2/IntelliSense Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -13329,5 +13329,27 @@ public class C
1332913329 Await state.AssertSelectedCompletionItem(displayText:= "TypeBuilder" , isHardSelected:= True ) ' hard-select TypeBuilder class
1333013330 End Using
1333113331 End Function
13332+
13333+ <WpfTheory, CombinatorialData>
13334+ <WorkItem( "https://github.com/dotnet/roslyn/issues/81021" )>
13335+ Public Async Function TestStartTypingInsideTargetTypedConditionalExpression(showCompletionInArgumentLists As Boolean ) As Task
13336+ Using state = TestStateFactory.CreateCSharpTestState(
13337+ <Document><! [CDATA [
13338+ using System ;
13339+
13340+ class C
13341+ {
13342+ public DateTime M(bool b)
13343+ {
13344+ return b ? new ( $$) : default ;
13345+ }
13346+ }
13347+ ]]></Document>,
13348+ showCompletionInArgumentLists:=showCompletionInArgumentLists)
13349+
13350+ state.SendTypeChars( "tick" )
13351+ Await state.AssertSelectedCompletionItem( "ticks:" )
13352+ End Using
13353+ End Function
1333213354 End Class
1333313355End Namespace
You can’t perform that action at this time.
0 commit comments