1 write to _logger
Microsoft.Build.Tasks.Core (1)
GenerateResource.cs (1)
2407_logger = log;
54 references to _logger
Microsoft.Build.Tasks.Core (54)
GenerateResource.cs (54)
2576_logger.LogErrorFromResources("GenerateResource.CannotWriteAssembly", outFileOrDir); 2587_logger.LogMessageFromResources("GenerateResource.ProcessingFile", inFile, outFileOrDir); 2599_logger.LogErrorWithCodeFromResources(null, FileUtilities.GetFullPathNoThrow(inFile), 0, 0, 0, 0, 2605_logger.LogErrorWithCodeFromResources(null, FileUtilities.GetFullPathNoThrow(inFile), 0, 0, 0, 0, 2613_logger.LogErrorWithCodeFromResources(null, FileUtilities.GetFullPathNoThrow(inFile), xe.LineNumber, 2618_logger.LogErrorWithCodeFromResources(null, FileUtilities.GetFullPathNoThrow(inFile), 0, 0, 0, 0, 2626_logger.LogErrorWithCodeFromResources(null, tfe.FileName, tfe.LineNumber, tfe.LinePosition, 1, 1, 2632_logger.LogErrorWithCodeFromResources(null, FileUtilities.GetFullPathNoThrow(inFile), xe.LineNumber, 2643_logger.LogErrorWithCodeFromResources(null, FileUtilities.GetFullPathNoThrow(inFile), 0, 0, 0, 0, 2647_logger.LogErrorFromException(e, /* stack */ true, /* inner exceptions */ true, 2654_logger.LogErrorWithCodeFromResources(null, FileUtilities.GetFullPathNoThrow(inFile), 0, 0, 0, 0, 2743_logger.LogErrorWithCodeFromResources("GenerateResource.CannotWriteSTRFile", 2766_logger.LogErrorWithCodeFromResources("GenerateResource.CannotWriteOutput", 2800_logger.LogErrorWithCodeFromResources("GenerateResource.CannotWriteOutput", 2804_logger.LogErrorFromException(e, /* stack */ true, /* inner exceptions */ true, 2811_logger.LogErrorWithCodeFromResources("GenerateResource.CannotWriteOutput", 2876_logger.LogErrorWithCodeFromResources("GenerateResource.PathTooLong", currentOutputFile); 2890_logger.LogMessageFromResources("GenerateResource.CorruptOutput", FileUtilities.GetFullPathNoThrow(filename)); 2897_logger.LogWarningWithCodeFromResources("GenerateResource.DeleteCorruptOutputFailed", FileUtilities.GetFullPathNoThrow(filename), deleteException.Message); 2920_logger.LogErrorWithCodeFromResources("GenerateResource.InvalidFilename", filename, ex.Message); 2946_logger.LogErrorWithCodeFromResources("GenerateResource.UnknownFileExtension", Path.GetExtension(filename), filename); 3029foreach (IResource resource in MSBuildResXReader.GetResourcesFromFile(filename, shouldUseSourcePath, _logger, _logWarningForBinaryFormatter)) 3050_logger.LogMessageFromResources(MessageImportance.Low, "GenerateResource.ReadResourceMessage", reader.resources.Count, filename); 3084_logger.LogErrorWithCodeFromResources("GenerateResource.MissingFile", name); 3109_logger.LogMessageFromResources("GenerateResource.SkippingExtractingFromNonSupportedFramework", name, targetFrameworkAttribute.FrameworkName); 3113_logger.LogMessageFromResources("GenerateResource.ExtractingResWFiles", name, outFileOrDir); 3123_logger.LogWarningWithCodeFromResources(null, name, 0, 0, 0, 0, "GenerateResource.CreatingCultureInfoFailed", e.GetType().Name, e.Message, assemblyName.ToString()); 3147_logger.LogErrorWithCodeFromResources("GenerateResource.CannotLoadAssemblyLoadFromFailed", name, e); 3175_logger.LogErrorFromResources("GenerateResource.ImproperlyBuiltMainAssembly", resName, name); 3181_logger.LogWarningWithCodeFromResources(null, name, 0, 0, 0, 0, "GenerateResource.MainAssemblyMissingNeutralResourcesLanguage", name); 3187_logger.LogErrorFromResources("GenerateResource.ImproperlyBuiltSatelliteAssembly", resName, expectedExt, name); 3235_logger.LogErrorWithCodeFromResources(null, name, 0, 0, 0, 0, "GenerateResource.NoResourcesFileInAssembly", resName); 3268_logger.LogWarningWithCodeFromResources(null, name, 0, 0, 0, 0, "GenerateResource.UnrecognizedUltimateResourceFallbackLocation", neutralResourcesLanguageAttribute.Location, name); 3278_logger.LogWarningWithCodeFromResources(null, name, 0, 0, 0, 0, "GenerateResource.SatelliteOrMalformedAssembly", name, culture.Name, assemblyName.Name); 3284_logger.LogWarningWithCodeFromResources("GenerateResource.SatelliteAssemblyContainsCode", name); 3289_logger.LogWarningWithCodeFromResources("GenerateResource.SatelliteAssemblyContainsNoResourcesFile", assemblyName.CultureInfo.Name); 3333_logger.LogErrorFromResources("GenerateResource.CannotWriteAssembly", filename); 3363_logger.LogErrorWithCodeFromResources("GenerateResource.PreserializedResourcesRequiresProperty"); 3368_logger.LogErrorWithCodeFromResources("GenerateResource.PreserializedResourcesRequiresExtensions"); 3372Debug.Assert(_logger.HasLoggedErrors); 3430if (!TryCreateCodeDomProvider(_logger, _stronglyTypedLanguage, out provider)) 3450_logger.LogMessageFromResources("GenerateResource.CreatingSTR", _stronglyTypedFilename); 3474_logger.LogErrorWithCodeFromResources("GenerateResource.ErrorFromCodeDom", inputFileName); 3477_logger.LogErrorWithCodeFromResources("GenerateResource.CodeDomError", error); 3607_logger.LogWarningWithCodeFromResources(null, fileName, sr.LineNumber - 1, 1, 0, 0, "GenerateResource.ObsoleteStringsTag"); 3611throw new TextFileException(_logger.FormatResourceString("GenerateResource.UnexpectedInfBracket", "[" + skip), fileName, sr.LineNumber - 1, 1); 3623throw new TextFileException(_logger.FormatResourceString("GenerateResource.NoEqualsInLine", name), fileName, sr.LineNumber, sr.LinePosition); 3635throw new TextFileException(_logger.FormatResourceString("GenerateResource.NoNameInLine"), fileName, sr.LineNumber, sr.LinePosition); 3690throw new TextFileException(_logger.FormatResourceString("GenerateResource.InvalidEscape", name.ToString(), (char)ch), fileName, sr.LineNumber, sr.LinePosition); 3703throw new TextFileException(_logger.FormatResourceString("GenerateResource.InvalidHexEscapeValue", name.ToString(), new String(hex)), fileName, sr.LineNumber, sr.LinePosition); 3708throw new TextFileException(_logger.FormatResourceString("GenerateResource.InvalidHexEscapeValue", name.ToString(), new String(hex)), fileName, sr.LineNumber, sr.LinePosition); 3714throw new TextFileException(_logger.FormatResourceString("GenerateResource.InvalidEscape", name.ToString(), (char)ch), fileName, sr.LineNumber, sr.LinePosition); 3815_logger.LogErrorWithCodeFromResources(null, fileName, 0, 0, 0, 0, "GenerateResource.OnlyStringsSupported", key, v?.GetType().FullName); 3851_logger.LogWarningWithCodeFromResources(null, inputFileName, lineNumber, linePosition, 0, 0, "GenerateResource.DuplicateResourceName", entry.Name);