13 references to DidChange
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (13)
DocumentChanges\DocumentChangesTests.cs (9)
46
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
146
await Assert.ThrowsAnyAsync<StreamJsonRpc.RemoteRpcException>(() =>
DidChange
(testLspServer, locationTyped.DocumentUri, (0, 0, "goo")));
191
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
225
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
262
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"), (5, 0, " // this builds on that\r\n"));
297
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// there"), (4, 11, "hi "));
331
await
DidChange
(testLspServer, locationTyped.DocumentUri, (5, 0, " // this builds on that\r\n"), (4, 8, "// hi there"));
409
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
410
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"));