25 references to Add
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspace.cs (1)
157
_lastRequestedAnyBranchSolutions.
Add
(solutionChecksum, solution);
Roslyn.VisualStudio.Next.UnitTests (24)
Remote\RemoteSolutionCacheTests.cs (24)
16
cache.
Add
(1, "1");
25
cache.
Add
(1, "1");
26
cache.
Add
(1, "2");
35
cache.
Add
(1, "1");
36
cache.
Add
(2, "2");
37
cache.
Add
(1, "3");
47
cache.
Add
(1, "1");
48
cache.
Add
(2, "2");
49
cache.
Add
(3, "3");
50
cache.
Add
(4, "4");
62
cache.
Add
(1, "1");
63
cache.
Add
(2, "2");
64
cache.
Add
(3, "3");
65
cache.
Add
(4, "4");
66
cache.
Add
(5, "5");
79
cache.
Add
(1, "1");
80
cache.
Add
(2, "2");
81
cache.
Add
(3, "3");
82
cache.
Add
(4, "4");
83
cache.
Add
(1, "1"); // re-add. should ensure that this doesn't fall out of the cache.
84
cache.
Add
(5, "5");
99
cache.
Add
(i, $"{i}");
120
cache.
Add
(i, $"{i}");
123
cache.
Add
(i, $"{i}");