/// <summary>Checks if the given object is an instance of SignatureToken and is equal to this instance.</summary>
        /// <returns>true if <paramref name="obj" /> is an instance of SignatureToken and is equal to this object; otherwise, false.</returns>
        /// <param name="obj">The object to compare with this SignatureToken. </param>
        public override bool Equals(object obj)
        {
            bool flag = obj is SignatureToken;

            if (flag)
            {
                SignatureToken signatureToken = (SignatureToken)obj;
                flag = (this.tokValue == signatureToken.tokValue);
            }
            return(flag);
        }
Exemple #2
0
        /// <summary>
        /// </summary>
        public override bool Equals(object obj)
        {
            bool res = obj is SignatureToken;

            if (res)
            {
                SignatureToken that = (SignatureToken)obj;
                res = (this.tokValue == that.tokValue);
            }

            return(res);
        }
Exemple #3
0
 public bool Equals(SignatureToken obj) 
 {
     return obj.m_signature == m_signature; 
 }
 static SignatureToken()
 {
     Empty = new SignatureToken();
 }
 public bool Equals(SignatureToken obj)
 {
     return (obj.m_signature == this.m_signature);
 }
Exemple #6
0
 public bool Equals(SignatureToken obj)
 {
     return(this.tokValue == obj.tokValue);
 }
Exemple #7
0
 //
 // Summary:
 //     Indicates whether the current instance is equal to the specified System.Reflection.Emit.SignatureToken.
 //
 // Parameters:
 //   obj:
 //     The System.Reflection.Emit.SignatureToken to compare to the current instance.
 //
 // Returns:
 //     true if the value of obj is equal to the value of the current instance; otherwise,
 //     false.
 public bool Equals(SignatureToken obj);
Exemple #8
0
 public bool Equals(SignatureToken obj)
 {
     return(obj.m_signature == m_signature);
 }
 public bool Equals(SignatureToken obj)
 {
     return(default(bool));
 }
Exemple #10
0
 /// <summary>Indicates whether the current instance is equal to the specified <see cref="T:System.Reflection.Emit.SignatureToken" />.</summary><returns>true if the value of <paramref name="obj" /> is equal to the value of the current instance; otherwise, false.</returns><param name="obj">The <see cref="T:System.Reflection.Emit.SignatureToken" /> to compare to the current instance.</param>
 public bool Equals(SignatureToken obj)
 {
     throw new NotImplementedException();
 }
Exemple #11
0
 static SignatureToken()
 {
     Empty = new SignatureToken();
 }
Exemple #12
0
		public bool Equals (SignatureToken obj)
		{
			return (this.tokValue == obj.tokValue);
		}
 public bool Equals(SignatureToken obj)
 {
   return default(bool);
 }