예제 #1
0
        /// <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);
        }
예제 #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);
        }
예제 #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);
 }
예제 #6
0
 public bool Equals(SignatureToken obj)
 {
     return(this.tokValue == obj.tokValue);
 }
예제 #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);
예제 #8
0
 public bool Equals(SignatureToken obj)
 {
     return(obj.m_signature == m_signature);
 }
 public bool Equals(SignatureToken obj)
 {
     return(default(bool));
 }
예제 #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();
 }
예제 #11
0
 static SignatureToken()
 {
     Empty = new SignatureToken();
 }
예제 #12
0
		public bool Equals (SignatureToken obj)
		{
			return (this.tokValue == obj.tokValue);
		}
 public bool Equals(SignatureToken obj)
 {
   return default(bool);
 }