1 write to _projectFileMap
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingService.cs (1)
298_projectFileMap = new ConcurrentDictionary<int, string>();
12 references to _projectFileMap
Microsoft.Build (12)
BackEnd\Components\Logging\LoggingService.cs (3)
1359if (!_projectFileMap.ContainsKey(projectStartedEventArgs.BuildEventContext.ProjectContextId)) 1361_projectFileMap[projectStartedEventArgs.BuildEventContext.ProjectContextId] = projectStartedEventArgs.ProjectFile; 1932_projectFileMap.TryGetValue(context.ProjectContextId, out string projectFile);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (9)
137_projectFileMap.TryGetValue(buildEventContext.ProjectContextId, out string projectFile); 177_projectFileMap.TryGetValue(buildEventContext.ProjectContextId, out string projectFile); 329_projectFileMap.TryGetValue(buildEventContext.ProjectContextId, out string projectFile); 417_projectFileMap[projectContextId] = projectFile; 541if (_projectFileMap.ContainsKey(projectContextId)) 546_projectFileMap[projectContextId] = projectFile; 551if (_projectFileMap.TryGetValue(projectContextId, out string existingProjectFile)) 568_projectFileMap[projectContextId] = projectFile; 619if (!_projectFileMap.TryRemove(projectBuildEventContext.ProjectContextId, out _))