BackEnd\Components\Logging\ILoggingService.cs (9)
417void LogError(BuildEventContext buildEventContext, IElementLocation location, string messageResourceName, params object[] messageArgs);
427void LogError(BuildEventContext buildEventContext, DiagnosticSubcategory subcategory, IElementLocation location, string messageResourceName, params object[] messageArgs);
438void LogErrorFromText(BuildEventContext buildEventContext, DiagnosticSubcategory subcategory, string errorCode, string helpKeyword, IElementLocation location, string message);
453void LogFatalBuildError(BuildEventContext buildEventContext, Exception exception, IElementLocation location);
462void LogFatalTaskError(BuildEventContext buildEventContext, Exception exception, IElementLocation location, string taskName);
472void LogFatalError(BuildEventContext buildEventContext, Exception exception, IElementLocation location, string messageResourceName, params object[] messageArgs);
483void LogTaskWarningFromException(BuildEventContext buildEventContext, Exception exception, IElementLocation location, string taskName);
493void LogWarning(BuildEventContext buildEventContext, DiagnosticSubcategory subcategory, IElementLocation location, string messageResourceName, params object[] messageArgs);
504void LogWarningFromText(BuildEventContext buildEventContext, DiagnosticSubcategory subcategory, string warningCode, string helpKeyword, IElementLocation location, string message);
BackEnd\Components\Logging\LoggingContext.cs (8)
140internal void LogComment(MessageImportance importance, IElementLocation location, string messageResourceName, params object?[]? messageArgs)
192internal void LogError(IElementLocation location, string messageResourceName, params object[] messageArgs)
206internal void LogErrorWithSubcategory(DiagnosticSubcategory subcategory, IElementLocation location, string messageResourceName, params object[] messageArgs)
221internal void LogErrorFromText(DiagnosticSubcategory subcategory, string? errorCode, string? helpKeyword, IElementLocation location, string message)
246internal void LogFatalError(Exception exception, IElementLocation location, string messageResourceName, params object?[]? messageArgs)
266internal void LogWarning(DiagnosticSubcategory subcategory, IElementLocation location, string messageResourceName, params object?[]? messageArgs)
280internal void LogWarningFromText(DiagnosticSubcategory subcategory, string warningCode, string helpKeyword, IElementLocation location, string message)
301internal void LogFatalBuildError(Exception exception, IElementLocation location)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (9)
99public void LogError(BuildEventContext buildEventContext, IElementLocation location, string messageResourceName, params object[] messageArgs)
113public void LogError(BuildEventContext buildEventContext, DiagnosticSubcategory subcategory, IElementLocation location, string messageResourceName, params object[] messageArgs)
133public void LogErrorFromText(BuildEventContext buildEventContext, DiagnosticSubcategory subcategory, string errorCode, string helpKeyword, IElementLocation location, string message)
196public void LogFatalBuildError(BuildEventContext buildEventContext, Exception exception, IElementLocation location)
210public void LogFatalTaskError(BuildEventContext buildEventContext, Exception exception, IElementLocation location, string taskName)
227public void LogFatalError(BuildEventContext buildEventContext, Exception exception, IElementLocation location, string messageResourceName, params object[] messageArgs)
261public void LogTaskWarningFromException(BuildEventContext buildEventContext, Exception exception, IElementLocation location, string taskName)
286public void LogWarning(BuildEventContext buildEventContext, DiagnosticSubcategory subcategory, IElementLocation location, string messageResourceName, params object[] messageArgs)
303public void LogWarningFromText(BuildEventContext buildEventContext, DiagnosticSubcategory subcategory, string warningCode, string helpKeyword, IElementLocation location, string message)
Errors\ProjectErrorUtilities.cs (50)
27public static void ThrowInvalidProject(IElementLocation location, string resourceName)
38public static void ThrowInvalidProject(IElementLocation location, string resourceName, object? arg0)
50public static void ThrowInvalidProject(IElementLocation location, string resourceName, object? arg0, object? arg1)
63public static void ThrowInvalidProject(IElementLocation location, string resourceName, object? arg0, object? arg1, object? arg2)
74public static void ThrowInvalidProject(IElementLocation location, string resourceName, params object?[] args)
86public static void ThrowInvalidProject(IElementLocation location, Exception? innerException, string resourceName)
99public static void ThrowInvalidProject(IElementLocation location, Exception? innerException, string resourceName, object? arg0)
114IElementLocation location,
134IElementLocation location,
152IElementLocation location,
166public static void ThrowInvalidProject(DiagnosticSubcategory subcategory, IElementLocation location, string resourceName)
178public static void ThrowInvalidProject(DiagnosticSubcategory subcategory, IElementLocation location, string resourceName, object? arg0)
193IElementLocation location,
212IElementLocation location,
230IElementLocation location,
247IElementLocation location,
265IElementLocation location,
285IElementLocation location,
307IElementLocation location,
328IElementLocation location,
342public static void VerifyThrowInvalidProject([DoesNotReturnIf(false)] bool condition, IElementLocation location, string resourceName)
357IElementLocation location,
376IElementLocation location,
398IElementLocation location,
423IElementLocation location,
442IElementLocation location,
463IElementLocation location,
481IElementLocation location,
502IElementLocation location,
526IElementLocation location,
554IElementLocation location,
576IElementLocation location,
599IElementLocation location,
622IElementLocation location,
648IElementLocation location,
677IElementLocation location,
709IElementLocation location,
735IElementLocation location,
758IElementLocation location,
783IElementLocation location,
811IElementLocation location,
842IElementLocation location,
876IElementLocation location,
904IElementLocation location,
926IElementLocation location,
951IElementLocation location,
978IElementLocation location,
1007IElementLocation location,
1035IElementLocation location,
1062IElementLocation location,
Evaluation\Expander.cs (10)
234internal string ExpandIntoStringAndUnescape(string expression, ExpanderOptions options, IElementLocation elementLocation)
248internal string ExpandIntoStringLeaveEscaped(string expression, ExpanderOptions options, IElementLocation elementLocation)
271internal SemiColonTokenizer ExpandIntoStringListLeaveEscaped(string expression, ExpanderOptions options, IElementLocation elementLocation)
284internal IList<TaskItem> ExpandIntoTaskItemsLeaveEscaped(string expression, ExpanderOptions options, IElementLocation elementLocation)
299internal IList<T> ExpandIntoItemsLeaveEscaped<T>(string expression, IItemFactory<I, T> itemFactory, ExpanderOptions options, IElementLocation elementLocation)
372internal IList<T> ExpandSingleItemVectorExpressionIntoItems<T>(string expression, IItemFactory<I, T> itemFactory, ExpanderOptions options, bool includeNullItems, out bool isTransformExpression, IElementLocation elementLocation)
389IElementLocation elementLocation,
395ExpanderOptions options, bool includeNullEntries, out bool isTransformExpression, IElementLocation elementLocation)
404IElementLocation elementLocation,
583private static string[] ExtractFunctionArguments(IElementLocation elementLocation, string expressionFunction, ReadOnlyMemory<char> argumentsMemory)
Evaluation\Expander.Function.cs (4)
210IElementLocation elementLocation,
369internal object Execute(object objectInstance, IPropertyProvider<P> properties, ExpanderOptions options, IElementLocation elementLocation)
850private static void ConstructIndexerFunction(string expressionFunction, IElementLocation elementLocation, object propertyValue, int methodStartIndex, int indexerEndIndex, ref FunctionBuilder functionBuilder)
892private static void ConstructFunction(IElementLocation elementLocation, string expressionFunction, int argumentStartIndex, int methodStartIndex, ref FunctionBuilder functionBuilder)
Evaluation\Expander.ItemExpander.cs (8)
102/// <see cref="Transforms.ExpandQuotedExpressionFunction(List{TransformEntry}, List{TransformEntry}, string, bool, IElementLocation)"/>.
111IElementLocation elementLocation,
310IElementLocation elementLocation)
331IElementLocation elementLocation,
360ExpanderOptions options, bool includeNullEntries, out bool isTransformExpression, IElementLocation elementLocation)
472IElementLocation elementLocation,
667internal static string ExpandItemVectorsIntoString(Expander<P, I> expander, string expression, IItemProvider<I> items, ExpanderOptions options, IElementLocation elementLocation)
723IElementLocation elementLocation,
Utilities\EngineFileUtilities.cs (19)
63IElementLocation? excludeLocation = null)
109IElementLocation? includeLocation = null,
110IElementLocation? excludeLocation = null,
111IElementLocation? importLocation = null,
181IElementLocation? includeLocation = null,
182IElementLocation? excludeLocation = null,
183IElementLocation? importLocation = null,
396private static void LogDriveEnumerationWarningWithTargetLoggingContext(TargetLoggingContext targetLoggingContext, IElementLocation? includeLocation, IElementLocation? excludeLocation, bool excludeFileSpecIsEmpty, bool disableExcludeDriveEnumerationWarning, string fileSpec)
429private static void LogDriveEnumerationWarningWithLoggingService(ILoggingService loggingService, IElementLocation? includeLocation, BuildEventContext? buildEventContext, string? projectFilePath, string filespecUnescaped)
445private static void LogDriveEnumerationWarningWithEvaluationLoggingContext(EvaluationLoggingContext evaluationLoggingContext, IElementLocation? importLocation, IElementLocation? includeLocation, IElementLocation? excludeLocation, bool excludeFileSpecIsEmpty, string filespecUnescaped, string fileSpec)
476private static void ThrowDriveEnumerationExceptionWithTargetLoggingContext(IElementLocation? includeLocation, IElementLocation? excludeLocation, bool excludeFileSpecIsEmpty, string filespecUnescaped, string fileSpec)
509private static void ThrowDriveEnumerationExceptionWithLoggingService(IElementLocation? includeLocation, string filespecUnescaped)
520private static void ThrowDriveEnumerationExceptionWithEvaluationLoggingContext(IElementLocation? importLocation, IElementLocation? includeLocation, IElementLocation? excludeLocation, string filespecUnescaped, string fileSpec, bool excludeFileSpecIsEmpty)