13 references to DidChange
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (13)
DocumentChanges\DocumentChangesTests.cs (9)
51
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
151
await Assert.ThrowsAnyAsync<StreamJsonRpc.RemoteRpcException>(() =>
DidChange
(testLspServer, locationTyped.DocumentUri, (0, 0, "goo")));
196
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
230
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
267
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"), (5, 0, " // this builds on that\r\n"));
302
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// there"), (4, 11, "hi "));
336
await
DidChange
(testLspServer, locationTyped.DocumentUri, (5, 0, " // this builds on that\r\n"), (4, 8, "// hi there"));
414
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
415
await
DidChange
(testLspServer, locationTyped.DocumentUri, (5, 0, " // this builds on that\r\n"));
DocumentChanges\DocumentChangesTests.LinkedDocuments.cs (1)
82
await
DidChange
(testLspServer, caretLocation.DocumentUri, (4, 8, "// hi there"));
DocumentChanges\DocumentChangesTests.WithFindAllReferences.cs (3)
47
await
DidChange
(testLspServer, locationTyped.DocumentUri, (5, 0, "var i = someInt + 1;\r\n"));
56
await
DidChange
(testLspServer, locationTyped.DocumentUri, (10, 0, "int someInt = A.someInt + 1;\r\n"));
66
await
DidChange
(testLspServer, locationTyped.DocumentUri, (13, 0, "var j = someInt + A.someInt;\r\n"));