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