4 writes to _assemblyPath
Microsoft.Build.Tasks.Core (4)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (4)
687_assemblyPath = cachedEntry.AssemblyPath; 698_assemblyPath = TaskFactoryUtilities.GetTemporaryTaskAssemblyPath(); // in a temp directory for this process, persisted until the end of build 702_assemblyPath = FileUtilities.GetTemporaryFileName(".dll"); // dll in the root of the temp directory, removed immediately after compilation 815_assemblyPath = null;
8 references to _assemblyPath
Microsoft.Build.Tasks.Core (8)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (8)
154public string GetAssemblyPath() => _assemblyPath; 608TaskFactoryUtilities.CreateLoadManifest(_assemblyPath, directoriesToAddToAppDomain); 766managedCompiler.OutputAssembly = new TaskItem(_assemblyPath); 792assembly = TaskFactoryUtilities.LoadTaskAssembly(_assemblyPath); 795string cachedAssemblyPath = _compileForOutOfProcess ? _assemblyPath : string.Empty; 812if (!_compileForOutOfProcess && !string.IsNullOrEmpty(_assemblyPath) && FileSystems.Default.FileExists(_assemblyPath)) 814File.Delete(_assemblyPath);