Esempio n. 1
0
		/// <summary>Compares for equality with another <see cref="CpuSimdFeature" /> object.</summary>
		/// <remarks>Comparison is performed by value.</remarks>
		public bool Equals(CpuSimdFeature other)
		{
			if (other == null)
				return false;

			return ((this.id ^ other.id) | (this.architectureId ^ other.architectureId)) == 0;
		}
Esempio n. 2
0
        /// <summary>Compares for equality with another <see cref="CpuSimdFeature" /> object.</summary>
        /// <remarks>Comparison is performed by value.</remarks>
        public bool Equals(CpuSimdFeature other)
        {
            if (other == null)
            {
                return(false);
            }

            return(((this.id ^ other.id) | (this.architectureId ^ other.architectureId)) == 0);
        }