1 write to CodeCode
Microsoft.Maui.Controls.Build.Tasks (1)
5 references to CodeCode
Microsoft.Maui.Controls.Build.Tasks (5)
XamlCTask.cs (5)
94 if (Context.NoWarn != null && Context.NoWarn.Contains(code.CodeCode))
97 if ((Context.TreatWarningsAsErrors && (Context.WarningsNotAsErrors == null || !Context.WarningsNotAsErrors.Contains(code.CodeCode)))
98 || (Context.WarningsAsErrors != null && Context.WarningsAsErrors.Contains(code.CodeCode)))
100 loggingHelper.LogError("XamlC", $"{code.CodePrefix}{code.CodeCode:0000}", code.HelpLink, xamlFilePath, lineNumber, linePosition, endLineNumber, endLinePosition, ErrorMessages.ResourceManager.GetString(code.ErrorMessageKey), messageArgs);
106 loggingHelper.LogWarning("XamlC", $"{code.CodePrefix}{code.CodeCode:0000}", code.HelpLink, xamlFilePath, lineNumber, linePosition, endLineNumber, endLinePosition, ErrorMessages.ResourceManager.GetString(code.ErrorMessageKey), messageArgs);