11 references to DidChange
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (11)
DocumentChanges\DocumentChangesTests.cs (7)
58
await
DidChange
(testLspServer, locationTyped.Uri, (4, 8, "// hi there"));
148
await Assert.ThrowsAsync<StreamJsonRpc.RemoteInvocationException>(() =>
DidChange
(testLspServer, locationTyped.Uri, (0, 0, "goo")));
202
await
DidChange
(testLspServer, locationTyped.Uri, (4, 8, "// hi there"));
237
await
DidChange
(testLspServer, locationTyped.Uri, (4, 8, "// hi there"));
276
await
DidChange
(testLspServer, locationTyped.Uri, (4, 8, "// hi there"), (5, 0, " // this builds on that\r\n"));
312
await
DidChange
(testLspServer, locationTyped.Uri, (4, 8, "// hi there"));
314
await
DidChange
(testLspServer, locationTyped.Uri, (5, 0, " // this builds on that\r\n"));
DocumentChanges\DocumentChangesTests.LinkedDocuments.cs (1)
88
await
DidChange
(testLspServer, caretLocation.Uri, (4, 8, "// hi there"));
DocumentChanges\DocumentChangesTests.WithFindAllReferences.cs (3)
46
await
DidChange
(testLspServer, locationTyped.Uri, (5, 0, "var i = someInt + 1;\r\n"));
55
await
DidChange
(testLspServer, locationTyped.Uri, (10, 0, "int someInt = A.someInt + 1;\r\n"));
65
await
DidChange
(testLspServer, locationTyped.Uri, (13, 0, "var j = someInt + A.someInt;\r\n"));