5 references to TryAdd
Microsoft.CodeAnalysis (5)
CommandLine\AnalyzerConfigSet.cs (1)
302if (_optionsCache.TryAdd(sectionKey, result))
Compilation\Compilation.cs (2)
1214var result = getTypeCache.TryAdd(fullyQualifiedMetadataName, val); 1245var result = getTypesCache.TryAdd(fullyQualifiedMetadataName, val);
Emit\DebugDocumentsBuilder.cs (1)
75_normalizedPathsCache.TryAdd(key, normalizedPath);
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
201s_TryParseDisplayNameCache.TryAdd(displayName, identityAndParts);