Skip to content

Commit

Permalink
Remove Version.Clone from AssemblyName.Clone (#54621)
Browse files Browse the repository at this point in the history
Version is immutable.
  • Loading branch information
stephentoub authored Jun 24, 2021
1 parent 914a422 commit 4facc36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public object Clone()
_publicKey = (byte[]?)_publicKey?.Clone(),
_publicKeyToken = (byte[]?)_publicKeyToken?.Clone(),
_cultureInfo = _cultureInfo,
_version = (Version?)_version?.Clone(),
_version = _version,
_flags = _flags,
_codeBase = _codeBase,
_hashAlgorithm = _hashAlgorithm,
Expand Down

0 comments on commit 4facc36

Please sign in to comment.