1 write to _warningsAsErrorsByProject
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingService.cs (1)
719AddWarningsAsMessagesOrErrors(ref _warningsAsErrorsByProject, buildEventContext, codes);
5 references to _warningsAsErrorsByProject
Microsoft.Build (5)
BackEnd\Components\Logging\LoggingService.cs (5)
641if (WarningsAsErrors == null && _warningsAsErrorsByProject == null) 658return GetWarningsForProject(context, _warningsAsErrorsByProject, WarningsAsErrors); 1660_warningsAsErrorsByProject?.Remove(key); 1977if (_warningsAsErrorsByProject != null && warningEvent.BuildEventContext != null && warningEvent.BuildEventContext.ProjectInstanceId != BuildEventContext.InvalidProjectInstanceId) 1981if (_warningsAsErrorsByProject.TryGetValue(key, out ISet<string> codesByProject))