Example #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;
		}
Example #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);
        }