public PackageReferenceFile(IFileSystem fileSystem, string path) { if (fileSystem == null) { throw new ArgumentNullException("fileSystem"); } if (String.IsNullOrEmpty(path)) { throw new ArgumentException(CommonResources.Argument_Cannot_Be_Null_Or_Empty, "path"); } FileSystem = fileSystem; _path = path; }