Private Shared Async Function AssertSmartIndentIndentationInProjectionAsync(markup As String,
expectedIndentation As Integer) As Tasks.Task
Using workspace = Await TestWorkspace.CreateVisualBasicAsync(markup)
Using workspace = TestWorkspace.CreateVisualBasic(markup)
Dim subjectDocument = workspace.Documents.Single()
Dim projectedDocument = workspace.CreateProjectionBufferDocument(s_htmlMarkup, workspace.Documents, LanguageNames.CSharp)
...
...
@@ -2874,7 +2874,7 @@ End Class
''' <param name="indentationLine">0-based. The line number in code to get indentation for.</param>
Private Shared Async Function AssertSmartIndentAsync(code As String, indentationLine As Integer, expectedIndentation As Integer?, Optional indentStyle As FormattingOptions.IndentStyle = FormattingOptions.IndentStyle.Smart) As Task
Using workspace = Await TestWorkspace.CreateVisualBasicAsync(code)
Using workspace = TestWorkspace.CreateVisualBasic(code)
Dim buffer = workspace.Documents.First().GetTextBuffer()