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