1 write to _warningsAsErrorsByProject
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingService.cs (1)
750AddWarningsAsMessagesOrErrors(ref _warningsAsErrorsByProject, buildEventContext, codes);
5 references to _warningsAsErrorsByProject
Microsoft.Build (5)
BackEnd\Components\Logging\LoggingService.cs (5)
663if (WarningsAsErrors == null && _warningsAsErrorsByProject == null) 689return GetWarningsForProject(context, _warningsAsErrorsByProject, WarningsAsErrors); 1726_warningsAsErrorsByProject?.Remove(key); 2049if (_warningsAsErrorsByProject != null && warningEvent.BuildEventContext != null && warningEvent.BuildEventContext.ProjectInstanceId != BuildEventContext.InvalidProjectInstanceId) 2053if (_warningsAsErrorsByProject.TryGetValue(key, out ISet<string> codesByProject))