1 write to SourcePath
Microsoft.NET.HostModel (1)
Bundle\FileSpec.cs (1)
23SourcePath = sourcePath;
11 references to SourcePath
Microsoft.NET.HostModel (11)
Bundle\Bundler.cs (9)
222if (IsAssembly(fileSpec.SourcePath, out isPE)) 227bool isNativeBinary = _target.IsWindows ? isPE : _target.IsNativeBinary(fileSpec.SourcePath); 295string hostSource = bundleContents.Host.SourcePath; 305bundledFilesSize += HostModelUtils.GetFileLength(spec.SourcePath); 365using (FileStream file = File.OpenRead(fileSpec.SourcePath)) 519if (!string.Equals(fileSpec.SourcePath, existingFileSpec.Spec.SourcePath, StringComparison.Ordinal)) 521throw new ArgumentException($"Invalid input specification: Found entries '{fileSpec.SourcePath}' and '{existingFileSpec.Spec.SourcePath}' with the same BundleRelativePath '{fileSpec.BundleRelativePath}'");
Bundle\FileSpec.cs (2)
30return !string.IsNullOrWhiteSpace(SourcePath) && 34public override string ToString() => $"SourcePath: {SourcePath}, RelativePath: {BundleRelativePath} {(Excluded ? "[Excluded]" : "")}";