34 references to BuildEngine
Microsoft.Build (34)
TaskLoggingHelper.cs (34)
249BuildEngine is IBuildEngine10 buildEngine10 && buildEngine10.EngineServices.IsTaskInputLoggingEnabled; 258return BuildEngine is not IBuildEngine10 buildEngine10 318if (BuildEngine == null) 324BuildEngine.LogMessageEvent(e); 374ErrorUtilities.VerifyThrowInvalidOperation(BuildEngine != null, "LoggingBeforeTaskInitialization", message); 383fillInLocation ? BuildEngine.ProjectFileOfTaskNode : file, 384fillInLocation ? BuildEngine.LineNumberOfTaskNode : lineNumber, 385fillInLocation ? BuildEngine.ColumnNumberOfTaskNode : columnNumber, 395BuildEngine.LogMessageEvent(e); 431ErrorUtilities.VerifyThrowInvalidOperation(BuildEngine != null, "LoggingBeforeTaskInitialization", message); 440fillInLocation ? BuildEngine.ProjectFileOfTaskNode : file, 441fillInLocation ? BuildEngine.LineNumberOfTaskNode : lineNumber, 442fillInLocation ? BuildEngine.ColumnNumberOfTaskNode : columnNumber, 451BuildEngine.LogMessageEvent(e); 519BuildEngine.LogMessageEvent(e); 559BuildEngine.LogCustomEvent(eps); 578BuildEngine.LogCustomEvent(epf); 616if (BuildEngine == null) 622BuildEngine.LogMessageEvent(e); 706ErrorUtilities.VerifyThrowInvalidOperation(BuildEngine != null, "LoggingBeforeTaskInitialization", message); 721fillInLocation ? BuildEngine.ProjectFileOfTaskNode : file, 722fillInLocation ? BuildEngine.LineNumberOfTaskNode : lineNumber, 723fillInLocation ? BuildEngine.ColumnNumberOfTaskNode : columnNumber, 732BuildEngine.LogErrorEvent(e); 1057ErrorUtilities.VerifyThrowInvalidOperation(BuildEngine != null, "LoggingBeforeTaskInitialization", message); 1072if (BuildEngine is IBuildEngine8 be8 && be8.ShouldTreatWarningAsError(warningCode)) 1079file: fillInLocation ? BuildEngine.ProjectFileOfTaskNode : file, 1080lineNumber: fillInLocation ? BuildEngine.LineNumberOfTaskNode : lineNumber, 1081columnNumber: fillInLocation ? BuildEngine.ColumnNumberOfTaskNode : columnNumber, 1092fillInLocation ? BuildEngine.ProjectFileOfTaskNode : file, 1093fillInLocation ? BuildEngine.LineNumberOfTaskNode : lineNumber, 1094fillInLocation ? BuildEngine.ColumnNumberOfTaskNode : columnNumber, 1104BuildEngine.LogWarningEvent(e); 1455(BuildEngine as IBuildEngine5)?.LogTelemetry(eventName, properties);