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)
16cache.Add(1, "1"); 25cache.Add(1, "1"); 26cache.Add(1, "2"); 35cache.Add(1, "1"); 36cache.Add(2, "2"); 37cache.Add(1, "3"); 47cache.Add(1, "1"); 48cache.Add(2, "2"); 49cache.Add(3, "3"); 50cache.Add(4, "4"); 62cache.Add(1, "1"); 63cache.Add(2, "2"); 64cache.Add(3, "3"); 65cache.Add(4, "4"); 66cache.Add(5, "5"); 79cache.Add(1, "1"); 80cache.Add(2, "2"); 81cache.Add(3, "3"); 82cache.Add(4, "4"); 83cache.Add(1, "1"); // re-add. should ensure that this doesn't fall out of the cache. 84cache.Add(5, "5"); 99cache.Add(i, $"{i}"); 120cache.Add(i, $"{i}"); 123cache.Add(i, $"{i}");