Implemented interface members:
13 references to TryGetValue
Microsoft.CodeAnalysis (13)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
512if (AnalyzerGateMap.TryGetValue(analyzer, out var gate))
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
1008if (nodeActionsByKind.TryGetValue(getKind(node), out var actionsForKind)) 1095if (operationActionsByKind.TryGetValue(operation.Kind, out var actionsForKind))
ImmutableSegmentedDictionary`2.cs (1)
195return TryGetValue(pair.Key, out var value)
RoslynImmutableInterlocked.cs (7)
398if (map.TryGetValue(key, out var value)) 418if (map.TryGetValue(key, out var value)) 437if (priorCollection.TryGetValue(key, out var oldValue)) 471if (priorCollection.TryGetValue(key, out var oldValue)) 507if (priorCollection.TryGetValue(key, out var oldValue)) 566if (!priorCollection.TryGetValue(key, out var priorValue) || !valueComparer.Equals(priorValue, comparisonValue)) 593if (!priorCollection.TryGetValue(key, out value))
SourceGeneration\Nodes\StateTableStore.cs (1)
25public bool TryGetValue(object key, [NotNullWhen(true)] out IStateTable? table) => _tables.TryGetValue(key, out table);
Syntax\SyntaxNodeExtensions_Tracking.cs (1)
226if (_idToNodeMap.TryGetValue(id, out nodes))