1 instantiation of TaskItem
Microsoft.Build.Framework (1)
TaskItem_T.cs (1)
191public static implicit operator TaskItem<T>(T value) => new TaskItem<T>(value);
19 references to TaskItem
Microsoft.Build (2)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
918/// <see cref="TaskItem{T}"/>, keyed by the generic argument T. Building the closed generic type and 946ConstructorInfo constructor = typeof(TaskItem<>).MakeGenericType(t).GetConstructor([typeof(ITaskItem)]);
Microsoft.Build.Framework (17)
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);
TaskItemTypeDetector.cs (2)
26/// Gets the value type from a declared <see cref="ITaskItem{T}"/> or <see cref="TaskItem{T}"/> type. 38&& genericTypeDefinition != typeof(TaskItem<>))