34 references to BuildEngine
Microsoft.Build (34)
TaskLoggingHelper.cs (34)
248BuildEngine is IBuildEngine10 buildEngine10 && buildEngine10.EngineServices.IsTaskInputLoggingEnabled; 257return BuildEngine is not IBuildEngine10 buildEngine10 317if (BuildEngine == null) 323BuildEngine.LogMessageEvent(e); 373ErrorUtilities.VerifyThrowInvalidOperation(BuildEngine != null, "LoggingBeforeTaskInitialization", message); 382fillInLocation ? BuildEngine.ProjectFileOfTaskNode : file, 383fillInLocation ? BuildEngine.LineNumberOfTaskNode : lineNumber, 384fillInLocation ? BuildEngine.ColumnNumberOfTaskNode : columnNumber, 394BuildEngine.LogMessageEvent(e); 430ErrorUtilities.VerifyThrowInvalidOperation(BuildEngine != null, "LoggingBeforeTaskInitialization", message); 439fillInLocation ? BuildEngine.ProjectFileOfTaskNode : file, 440fillInLocation ? BuildEngine.LineNumberOfTaskNode : lineNumber, 441fillInLocation ? BuildEngine.ColumnNumberOfTaskNode : columnNumber, 450BuildEngine.LogMessageEvent(e); 518BuildEngine.LogMessageEvent(e); 558BuildEngine.LogCustomEvent(eps); 577BuildEngine.LogCustomEvent(epf); 615if (BuildEngine == null) 621BuildEngine.LogMessageEvent(e); 705ErrorUtilities.VerifyThrowInvalidOperation(BuildEngine != null, "LoggingBeforeTaskInitialization", message); 720fillInLocation ? BuildEngine.ProjectFileOfTaskNode : file, 721fillInLocation ? BuildEngine.LineNumberOfTaskNode : lineNumber, 722fillInLocation ? BuildEngine.ColumnNumberOfTaskNode : columnNumber, 731BuildEngine.LogErrorEvent(e); 1056ErrorUtilities.VerifyThrowInvalidOperation(BuildEngine != null, "LoggingBeforeTaskInitialization", message); 1071if (BuildEngine is IBuildEngine8 be8 && be8.ShouldTreatWarningAsError(warningCode)) 1078file: fillInLocation ? BuildEngine.ProjectFileOfTaskNode : file, 1079lineNumber: fillInLocation ? BuildEngine.LineNumberOfTaskNode : lineNumber, 1080columnNumber: fillInLocation ? BuildEngine.ColumnNumberOfTaskNode : columnNumber, 1091fillInLocation ? BuildEngine.ProjectFileOfTaskNode : file, 1092fillInLocation ? BuildEngine.LineNumberOfTaskNode : lineNumber, 1093fillInLocation ? BuildEngine.ColumnNumberOfTaskNode : columnNumber, 1103BuildEngine.LogWarningEvent(e); 1454(BuildEngine as IBuildEngine5)?.LogTelemetry(eventName, properties);