RoslynCodeTaskFactory_Tests.cs (6)
448expectedErrorMessage: $"The \"Include\" attribute of the <Reference> element in the task \"{TaskName}\" has been set but is empty. Make sure the attribute has a proper value.");
539expectedErrorMessage: $"The <Code> element is missing for the \"{TaskName}\" task. This element is required.");
775TaskLoggingHelper log = new TaskLoggingHelper(buildEngine, TaskName)
780bool success = RoslynCodeTaskFactory.TryLoadTaskBody(log, TaskName, taskBody, new List<TaskPropertyInfo>(), out RoslynCodeTaskFactoryTaskInfo _);
801TaskLoggingHelper log = new TaskLoggingHelper(buildEngine, TaskName)
806bool success = RoslynCodeTaskFactory.TryLoadTaskBody(log, TaskName, taskBody, parameters ?? new List<TaskPropertyInfo>(), out RoslynCodeTaskFactoryTaskInfo taskInfo);