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