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);
1683
_warningsAsErrorsByProject
?.Remove(key);
2000
if (
_warningsAsErrorsByProject
!= null && warningEvent.BuildEventContext != null && warningEvent.BuildEventContext.ProjectInstanceId != BuildEventContext.InvalidProjectInstanceId)
2004
if (
_warningsAsErrorsByProject
.TryGetValue(key, out ISet<string> codesByProject))