6 references to GetOrCreateValue
Microsoft.CodeAnalysis.CSharp (1)
Syntax\InternalSyntax\CSharpSyntaxNode.cs (1)
279var structsInParent = s_structuresTable.GetOrCreateValue(parent);
Microsoft.CodeAnalysis.ExternalAccess.Copilot (1)
Internal\Analyzer\AbstractCopilotCodeAnalysisService.cs (1)
126var diagnosticsMap = _diagnosticsCache.GetOrCreateValue(document);
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\HostDiagnosticAnalyzers.cs (1)
301var box = _skippedHostAnalyzers.GetOrCreateValue(project.AnalyzerReferences);
Microsoft.Extensions.AI.Abstractions (1)
Functions\AIFunctionFactory.cs (1)
616ConcurrentDictionary<DescriptorKey, ReflectionAIFunctionDescriptor> innerCache = _descriptorCache.GetOrCreateValue(serializerOptions);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
805List<ManagedObjectWrapperHolder> allWrappersForThisInstance = s_allManagedObjectWrapperTable.GetOrCreateValue(instance);
System.Windows.Forms.UI.IntegrationTests (1)
Infra\DataCollectionService.cs (1)
135var logged = s_loggedExceptions.GetOrCreateValue(ex);