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)
1359
if (!
_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;
541
if (
_projectFileMap
.ContainsKey(projectContextId))
546
_projectFileMap
[projectContextId] = projectFile;
551
if (
_projectFileMap
.TryGetValue(projectContextId, out string existingProjectFile))
568
_projectFileMap
[projectContextId] = projectFile;
619
if (!
_projectFileMap
.TryRemove(projectBuildEventContext.ProjectContextId, out _))