1 instantiation of RoslynCodeTaskFactoryTaskInfo
Microsoft.Build.Tasks.Core (1)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
295
taskInfo = new
RoslynCodeTaskFactoryTaskInfo
16 references to RoslynCodeTaskFactoryTaskInfo
Microsoft.Build.Tasks.Core (14)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (11)
84
/// A cache of <see cref="
RoslynCodeTaskFactoryTaskInfo
"/> objects and their corresponding compiled assembly. This cache ensures that two of the exact same code task
87
private static readonly ConcurrentDictionary<
RoslynCodeTaskFactoryTaskInfo
, Assembly> CompiledAssemblyCache = new ConcurrentDictionary<
RoslynCodeTaskFactoryTaskInfo
, Assembly>();
159
if (!TryLoadTaskBody(_log, _taskName, taskBody, _parameters, out
RoslynCodeTaskFactoryTaskInfo
taskInfo))
205
internal static string GetSourceCode(
RoslynCodeTaskFactoryTaskInfo
taskInfo, ICollection<TaskPropertyInfo> parameters)
277
/// <param name="taskInfo">A <see cref="
RoslynCodeTaskFactoryTaskInfo
"/> object that receives the details of the parsed task.</param>
293
internal static bool TryLoadTaskBody(TaskLoggingHelper log, string taskName, string taskBody, ICollection<TaskPropertyInfo> parameters, out
RoslynCodeTaskFactoryTaskInfo
taskInfo)
519
/// <param name="taskInfo">A <see cref="
RoslynCodeTaskFactoryTaskInfo
"/> object containing details about the task.</param>
528
internal bool TryResolveAssemblyReferences(TaskLoggingHelper log,
RoslynCodeTaskFactoryTaskInfo
taskInfo, out ITaskItem[] items)
661
/// <param name="taskInfo">A <see cref="
RoslynCodeTaskFactoryTaskInfo
"/> object containing details about the task.</param>
664
private bool TryCompileInMemoryAssembly(IBuildEngine buildEngine,
RoslynCodeTaskFactoryTaskInfo
taskInfo, out Assembly assembly)
RoslynCodeTaskFactory\RoslynCodeTaskFactoryTaskInfo.cs (3)
11
internal sealed class RoslynCodeTaskFactoryTaskInfo : IEquatable<
RoslynCodeTaskFactoryTaskInfo
>
44
public bool Equals(
RoslynCodeTaskFactoryTaskInfo
other)
66
return Equals(obj as
RoslynCodeTaskFactoryTaskInfo
);
Microsoft.Build.Tasks.UnitTests (2)
RoslynCodeTaskFactory_Tests.cs (2)
781
bool success = RoslynCodeTaskFactory.TryLoadTaskBody(log, TaskName, taskBody, new List<TaskPropertyInfo>(), out
RoslynCodeTaskFactoryTaskInfo
_);
807
bool success = RoslynCodeTaskFactory.TryLoadTaskBody(log, TaskName, taskBody, parameters ?? new List<TaskPropertyInfo>(), out
RoslynCodeTaskFactoryTaskInfo
taskInfo);