20 references to AddOrUpdate
Metrics (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);
Metrics.Legacy (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (2)
363var invocationList = _handlers.AddOrUpdate(methodName, _ => new InvocationHandlerList(invocationHandler), 396var invocationList = _handlers.AddOrUpdate(methodName, _ => new InvocationHandlerList(invocationHandler),
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubGroupList.cs (1)
59_groups.AddOrUpdate(groupName, _ => AddConnectionToGroup(connection, new GroupConnectionList()),
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
TestConnectionMultiplexer.cs (1)
272_subscriptions.AddOrUpdate(messageQueue.Channel, _ => new List<(int, Action<RedisChannel, RedisValue>)> { (subscriberId, handler) }, (_, list) =>
Microsoft.CodeAnalysis.Analyzers (5)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer.cs (4)
397localsToDescriptorsMap.AddOrUpdate(local, 1229dict.AddOrUpdate( 1238existingValue.AddOrUpdate( 1245idToAnalyzerMap.AddOrUpdate(
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);
Roslyn.Diagnostics.Analyzers (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);
Text.Analyzers (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57return dictionary.AddOrUpdate(key, pooledAddValueFactory, pooledUpdateValueFactory);