4 writes to _assemblyPath
Microsoft.Build.Tasks.Core (4)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (4)
735_assemblyPath = cachedEntry.AssemblyPath; 746_assemblyPath = TaskFactoryUtilities.GetTemporaryTaskAssemblyPath(); // in a temp directory for this process, persisted until the end of build 750_assemblyPath = FileUtilities.GetTemporaryFileName(".dll"); // dll in the root of the temp directory, removed immediately after compilation 863_assemblyPath = null;
8 references to _assemblyPath
Microsoft.Build.Tasks.Core (8)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (8)
175public string GetAssemblyPath() => _assemblyPath; 655TaskFactoryUtilities.CreateLoadManifest(_assemblyPath, directoriesToAddToAppDomain); 814managedCompiler.OutputAssembly = new TaskItem(_assemblyPath); 840assembly = TaskFactoryUtilities.LoadTaskAssembly(_assemblyPath); 843string cachedAssemblyPath = _compileForOutOfProcess ? _assemblyPath : string.Empty; 860if (!_compileForOutOfProcess && !string.IsNullOrEmpty(_assemblyPath) && FileSystems.Default.FileExists(_assemblyPath)) 862File.Delete(_assemblyPath);