13 references to DidChange
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (13)
DocumentChanges\DocumentChangesTests.cs (9)
51
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
159
await Assert.ThrowsAnyAsync<StreamJsonRpc.RemoteRpcException>(() =>
DidChange
(testLspServer, locationTyped.DocumentUri, (0, 0, "goo")));
208
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
242
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
279
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"), (5, 0, " // this builds on that\r\n"));
314
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// there"), (4, 11, "hi "));
348
await
DidChange
(testLspServer, locationTyped.DocumentUri, (5, 0, " // this builds on that\r\n"), (4, 8, "// hi there"));
426
await
DidChange
(testLspServer, locationTyped.DocumentUri, (4, 8, "// hi there"));
427
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"));