Implemented interface members:
11 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 (3)
CSharp\DefaultUtf8WriteLiteralFeature.cs (3)
244if (filePath is not null && _fileToType.TryGetValue(filePath, out var fqn)) 246return _typeSupport.TryGetValue(fqn, out var supported) && supported; 250return _typeSupport.TryGetValue(baseTypeName, out var fallback) && fallback;
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))