22 writes to TaskResources
Microsoft.Build.Tasks.Core (4)
CodeTaskFactory.cs (1)
1035TaskResources = AssemblyResources.PrimaryResources,
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
150TaskResources = AssemblyResources.PrimaryResources,
TaskLoggingHelperExtension.cs (1)
43this.TaskResources = primaryResources;
XamlTaskFactory\XamlTaskFactory.cs (1)
252TaskResources = AssemblyResources.PrimaryResources,
Microsoft.Build.Tasks.UnitTests (11)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (1)
31TaskResources = AssemblyResources.PrimaryResources
ResolveSDKReference_Tests.cs (8)
194log1.TaskResources = AssemblyResources.PrimaryResources; 212log2.TaskResources = AssemblyResources.PrimaryResources; 230log3.TaskResources = AssemblyResources.PrimaryResources; 248log3a.TaskResources = AssemblyResources.PrimaryResources; 270log4.TaskResources = AssemblyResources.PrimaryResources; 287log5.TaskResources = AssemblyResources.PrimaryResources; 317log.TaskResources = AssemblyResources.PrimaryResources; 389log.TaskResources = AssemblyResources.PrimaryResources;
RoslynCodeTaskFactory_Tests.cs (2)
778TaskResources = Shared.AssemblyResources.PrimaryResources 804TaskResources = Shared.AssemblyResources.PrimaryResources
Microsoft.Build.Utilities.Core (6)
AppDomainIsolatedTask.cs (2)
41Log.TaskResources = taskResources; 88set => Log.TaskResources = value;
Task.cs (2)
34Log.TaskResources = taskResources; 132set => Log.TaskResources = value;
ToolTask.cs (2)
74TaskResources = AssemblyResources.PrimaryResources, 80TaskResources = AssemblyResources.SharedResources,
Microsoft.Build.Utilities.UnitTests (1)
MockTask.cs (1)
27private void RegisterResources() => Log.TaskResources = new ResourceManager("Microsoft.Build.Utilities.UnitTests.strings", typeof(MockTask).GetTypeInfo().Assembly);
6 references to TaskResources
Microsoft.Build.Tasks.Core (2)
TaskLoggingHelperExtension.cs (2)
94ErrorUtilities.VerifyThrowInvalidOperation(TaskResources != null, "Shared.TaskResourcesNotRegistered", TaskName); 98string resourceString = TaskResources.GetString(resourceName, CultureInfo.CurrentUICulture);
Microsoft.Build.Utilities.Core (4)
AppDomainIsolatedTask.cs (1)
87get => Log.TaskResources;
Task.cs (1)
131get => Log.TaskResources;
TaskLoggingHelper.cs (2)
206ErrorUtilities.VerifyThrowInvalidOperation(TaskResources != null, "Shared.TaskResourcesNotRegistered", TaskName); 208string resourceString = TaskResources.GetString(resourceName, CultureInfo.CurrentUICulture);