1 write to _warningsAsErrorsByProject
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingService.cs (1)
712AddWarningsAsMessagesOrErrors(ref _warningsAsErrorsByProject, buildEventContext, codes);
5 references to _warningsAsErrorsByProject
Microsoft.Build (5)
BackEnd\Components\Logging\LoggingService.cs (5)
634if (WarningsAsErrors == null && _warningsAsErrorsByProject == null) 651return GetWarningsForProject(context, _warningsAsErrorsByProject, WarningsAsErrors); 1680_warningsAsErrorsByProject?.Remove(key); 1994if (_warningsAsErrorsByProject != null && warningEvent.BuildEventContext != null && warningEvent.BuildEventContext.ProjectInstanceId != BuildEventContext.InvalidProjectInstanceId) 1998if (_warningsAsErrorsByProject.TryGetValue(key, out ISet<string> codesByProject))