public PackageInProject(PackageVersionRange packageVersionRange,
                         PackagePath path,
                         IEnumerable <string> projectReferences = null)
 {
     PackageVersionRange = packageVersionRange;
     Path = path;
     ProjectReferences = projectReferences?.ToList() ?? new List <string>();
 }
 public PackageInProject(string id, string versionRange, PackagePath path) :
     this(new PackageVersionRange(id, VersionRange.Parse(versionRange)), path, null)
 {
 }