19 references to AddOrUpdate
Metrics (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57
return dictionary.
AddOrUpdate
(key, pooledAddValueFactory, pooledUpdateValueFactory);
Metrics.Legacy (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57
return dictionary.
AddOrUpdate
(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (2)
363
var invocationList = _handlers.
AddOrUpdate
(methodName, _ => new InvocationHandlerList(invocationHandler),
396
var 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)
397
localsToDescriptorsMap.
AddOrUpdate
(local,
1229
dict.
AddOrUpdate
(
1238
existingValue.
AddOrUpdate
(
1245
idToAnalyzerMap.
AddOrUpdate
(
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57
return dictionary.
AddOrUpdate
(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57
return dictionary.
AddOrUpdate
(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57
return dictionary.
AddOrUpdate
(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57
return dictionary.
AddOrUpdate
(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57
return dictionary.
AddOrUpdate
(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57
return dictionary.
AddOrUpdate
(key, pooledAddValueFactory, pooledUpdateValueFactory);
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57
return dictionary.
AddOrUpdate
(key, pooledAddValueFactory, pooledUpdateValueFactory);
Roslyn.Diagnostics.Analyzers (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57
return dictionary.
AddOrUpdate
(key, pooledAddValueFactory, pooledUpdateValueFactory);
Text.Analyzers (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (1)
57
return dictionary.
AddOrUpdate
(key, pooledAddValueFactory, pooledUpdateValueFactory);