1 instantiation of TaskItem
Microsoft.Build.Framework (1)
TaskItem_T.cs (1)
191public static implicit operator TaskItem<T>(T value) => new TaskItem<T>(value);
18 references to TaskItem
Microsoft.Build (3)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (3)
764|| TaskParameterTypeVerifier.IsPathLikeTaskItemOfT(parameterType, typeof(TaskItem<>).FullName); 768/// <see cref="TaskItem{T}"/>, keyed by the generic argument T. Building the closed generic type and 782ConstructorInfo constructor = typeof(TaskItem<>).MakeGenericType(t).GetConstructor([typeof(ITaskItem)]);
Microsoft.Build.Framework (15)
TaskItem_T.cs (15)
21public readonly struct TaskItem<T> : ITaskItem<T>, IEquatable<TaskItem<T>> 31/// Initializes a new instance of <see cref="TaskItem{T}"/> from a strongly-typed value. 44/// Initializes a new instance of <see cref="TaskItem{T}"/> from an <see cref="ITaskItem"/>. 164public bool Equals(TaskItem<T> other) => 168public override bool Equals(object? obj) => obj is TaskItem<T> other && Equals(other); 174/// Determines whether two <see cref="TaskItem{T}"/> instances are equal. 176public static bool operator ==(TaskItem<T> left, TaskItem<T> right) => left.Equals(right); 179/// Determines whether two <see cref="TaskItem{T}"/> instances are not equal. 181public static bool operator !=(TaskItem<T> left, TaskItem<T> right) => !left.Equals(right); 184/// Implicitly converts a <see cref="TaskItem{T}"/> to its strongly-typed value. 186public static implicit operator T(TaskItem<T> taskItem) => taskItem.Value; 189/// Implicitly converts a strongly-typed value to a <see cref="TaskItem{T}"/>. 191public static implicit operator TaskItem<T>(T value) => new TaskItem<T>(value);