5 references to ChangeDocumentAsync
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
Diagnostics\PullDiagnosticTests.cs (2)
702await testLspServer.TestWorkspace.ChangeDocumentAsync(document.Id, workspaceText.WithChanges(textChange)); 2269await testLspServer.TestWorkspace.ChangeDocumentAsync(documentId, text);
Workspaces\LspWorkspaceManagerTests.cs (2)
85await testLspServer.TestWorkspace.ChangeDocumentAsync(firstDocument.Id, SourceText.From($"Some more text{markupOne}", System.Text.Encoding.UTF8, SourceHashAlgorithms.Default)); 119await testLspServer.TestWorkspace.ChangeDocumentAsync(secondDocument.Id, SourceText.From("Two is now three!", System.Text.Encoding.UTF8, SourceHashAlgorithms.Default));
Workspaces\SourceGeneratedDocumentTests.cs (1)
171await testLspServer.TestWorkspace.ChangeDocumentAsync(testLspServer.TestWorkspace.Documents.Single(d => !d.IsSourceGenerated).Id, SourceText.From("new text"));