1 instantiation of TaskItem
Microsoft.Build.Framework (1)
TaskItem_T.cs (1)
198public static implicit operator TaskItem<T>(T value) => new TaskItem<T>(value);
19 references to TaskItem
Microsoft.Build (2)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
916/// <see cref="TaskItem{T}"/>, keyed by the generic argument T. Building the closed generic type and 944ConstructorInfo 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"/>. 171public bool Equals(TaskItem<T> other) => 175public override bool Equals(object? obj) => obj is TaskItem<T> other && Equals(other); 181/// Determines whether two <see cref="TaskItem{T}"/> instances are equal. 183public static bool operator ==(TaskItem<T> left, TaskItem<T> right) => left.Equals(right); 186/// Determines whether two <see cref="TaskItem{T}"/> instances are not equal. 188public static bool operator !=(TaskItem<T> left, TaskItem<T> right) => !left.Equals(right); 191/// Implicitly converts a <see cref="TaskItem{T}"/> to its strongly-typed value. 193public static implicit operator T(TaskItem<T> taskItem) => taskItem.Value; 196/// Implicitly converts a strongly-typed value to a <see cref="TaskItem{T}"/>. 198public 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<>))