Implemented interface members:
13 references to TryGetValue
Microsoft.CodeAnalysis (13)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
521if (AnalyzerGateMap.TryGetValue(analyzer, out var gate))
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
1004if (nodeActionsByKind.TryGetValue(getKind(node), out var actionsForKind)) 1104if (operationActionsByKind.TryGetValue(operation.Kind, out var actionsForKind))
SourceGeneration\Nodes\StateTableStore.cs (1)
21public bool TryGetValue(object key, [NotNullWhen(true)] out IStateTable? table) => _tables.TryGetValue(key, out table);
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
183return TryGetValue(pair.Key, out var value)
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (7)
399if (map.TryGetValue(key, out var value)) 419if (map.TryGetValue(key, out var value)) 438if (priorCollection.TryGetValue(key, out var oldValue)) 472if (priorCollection.TryGetValue(key, out var oldValue)) 508if (priorCollection.TryGetValue(key, out var oldValue)) 567if (!priorCollection.TryGetValue(key, out var priorValue) || !valueComparer.Equals(priorValue, comparisonValue)) 594if (!priorCollection.TryGetValue(key, out value))
Syntax\SyntaxNodeExtensions_Tracking.cs (1)
226if (_idToNodeMap.TryGetValue(id, out nodes))