summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Configuration/Assemblies/AssemblyHash.cs
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2017-02-10 20:35:12 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2017-02-10 20:35:12 +0900
commit4b11dc566a5bbfa1378d6266525c281b028abcc8 (patch)
treeb48831a898906734f8884d08b6e18f1144ee2b82 /src/mscorlib/src/System/Configuration/Assemblies/AssemblyHash.cs
parentdb20f3f1bb8595633a7e16c8900fd401a453a6b5 (diff)
downloadcoreclr-4b11dc566a5bbfa1378d6266525c281b028abcc8.tar.gz
coreclr-4b11dc566a5bbfa1378d6266525c281b028abcc8.tar.bz2
coreclr-4b11dc566a5bbfa1378d6266525c281b028abcc8.zip
Imported Upstream version 1.0.0.9910upstream/1.0.0.9910
Diffstat (limited to 'src/mscorlib/src/System/Configuration/Assemblies/AssemblyHash.cs')
-rw-r--r--src/mscorlib/src/System/Configuration/Assemblies/AssemblyHash.cs74
1 files changed, 0 insertions, 74 deletions
diff --git a/src/mscorlib/src/System/Configuration/Assemblies/AssemblyHash.cs b/src/mscorlib/src/System/Configuration/Assemblies/AssemblyHash.cs
deleted file mode 100644
index a7b0e70266..0000000000
--- a/src/mscorlib/src/System/Configuration/Assemblies/AssemblyHash.cs
+++ /dev/null
@@ -1,74 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-/*============================================================
-**
-**
-**
-** Purpose:
-**
-**
-===========================================================*/
-namespace System.Configuration.Assemblies {
- using System;
- [Serializable]
- [System.Runtime.InteropServices.ComVisible(true)]
- [Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
- public struct AssemblyHash : ICloneable
- {
- private AssemblyHashAlgorithm _Algorithm;
- private byte[] _Value;
-
- [Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
- public static readonly AssemblyHash Empty = new AssemblyHash(AssemblyHashAlgorithm.None, null);
-
- [Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
- public AssemblyHash(byte[] value) {
- _Algorithm = AssemblyHashAlgorithm.SHA1;
- _Value = null;
-
- if (value != null) {
- int length = value.Length;
- _Value = new byte[length];
- Array.Copy(value, _Value, length);
- }
- }
-
- [Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
- public AssemblyHash(AssemblyHashAlgorithm algorithm, byte[] value) {
- _Algorithm = algorithm;
- _Value = null;
-
- if (value != null) {
- int length = value.Length;
- _Value = new byte[length];
- Array.Copy(value, _Value, length);
- }
- }
-
- // Hash is made up of a byte array and a value from a class of supported
- // algorithm types.
- [Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
- public AssemblyHashAlgorithm Algorithm {
- get { return _Algorithm; }
- set { _Algorithm = value; }
- }
-
- [Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
- public byte[] GetValue() {
- return _Value;
- }
-
- [Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
- public void SetValue(byte[] value) {
- _Value = value;
- }
-
- [Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
- public Object Clone() {
- return new AssemblyHash(_Algorithm, _Value);
- }
- }
-
-}