/// <summary>
 /// Returns the <see cref="LockFile"/> object that
 /// represents the contents of project.assets.json.
 /// Used to identify project dependencies.
 /// </summary>
 ///
 /// <exception cref="SwitcherFileNotFoundException"/>
 protected virtual LockFile GetLockFile(IProjectReference reference)
 {
     return(LockFileUtilities.GetLockFile(reference.GetLockFile(), NullLogger.Instance) ?? new LockFile());
 }