summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1Type.cs
blob: f44b74e648c80abcfcab4560f56ea514bcd5ca00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;

namespace Org.BouncyCastle.Asn1
{
    internal abstract class Asn1Type
    {
        internal readonly Type m_platformType;

        internal Asn1Type(Type platformType)
        {
            m_platformType = platformType;
        }

        internal Type PlatformType
        {
            get { return m_platformType; }
        }

        public sealed override bool Equals(object that)
        {
            return this == that;
        }

        public sealed override int GetHashCode()
        {
            return base.GetHashCode();
        }
    }
}