Implemented interface members:
12 references to TryGetValue
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\RoslynAnalyzers\Microsoft.CodeAnalysis.Analyzers\Core\MetaAnalyzers\ReleaseTrackingHelper.cs (1)
372if (!ReleaseTrackingDataByRuleIdMap.TryGetValue(ruleId, out var releaseTrackingDataForRule) ||
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
582if (!analyzerTypeNameMap.TryGetValue(language, out languageSpecificAnalyzerTypeNames))
Microsoft.CodeAnalysis.Analyzers (1)
MetaAnalyzers\ReleaseTrackingHelper.cs (1)
372if (!ReleaseTrackingDataByRuleIdMap.TryGetValue(ruleId, out var releaseTrackingDataForRule) ||
Microsoft.CodeAnalysis.Razor.Compiler (4)
CSharp\Utf8SupportMap.cs (4)
219if (_fileToType.TryGetValue(filePath ?? string.Empty, out var fqn)) 221return _typeSupport.TryGetValue(fqn, out var supported) && supported; 225return _typeSupport.TryGetValue(baseTypeName, out var fallback) && fallback; 251if (!other._fileToType.TryGetValue(filePath, out var otherFqn) ||
Microsoft.CodeAnalysis.Workspaces (4)
Diagnostics\Extensions.cs (1)
373if (solution.CompilationState.SourceGeneratorExecutionVersionMap.Map.TryGetValue(project.Id, out var executionVersion))
Workspace\Solution\TextDocumentStates.cs (3)
95=> States.TryGetValue(documentId, out state); 98=> States.TryGetValue(documentId, out var state) ? state : null; 101=> States.TryGetValue(documentId, out var state) ? state : throw ExceptionUtilities.Unreachable();
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
192if (!this.TryGetValue(key, out value))