4 references to ChangeDocumentAsync
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestWorkspace.cs (1)
756
ChangeDocumentAsync
(documentId, text);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
SemanticTokens\AbstractSemanticTokensTests.cs (1)
46
await ((TestWorkspace)workspace).
ChangeDocumentAsync
(docId, SourceText.From(updatedText));
Workspaces\LspWorkspaceManagerTests.cs (2)
74
await testLspServer.TestWorkspace.
ChangeDocumentAsync
(firstDocument.Id, SourceText.From($"Some more text{markupOne}", System.Text.Encoding.UTF8, SourceHashAlgorithms.Default));
108
await testLspServer.TestWorkspace.
ChangeDocumentAsync
(secondDocument.Id, SourceText.From("Two is now three!", System.Text.Encoding.UTF8, SourceHashAlgorithms.Default));