Пример #1
0
        public override Int32 GetHashCode()
        {
            Int32 hashCode = 0;

            hashCode += AssemblyName.GetHashCode();
            hashCode -= TargetRuntime.GetHashCode();
            hashCode += TargetArchitecture.GetHashCode();
            hashCode -= ExecutionRuntime.GetHashCode();
            hashCode += ExecutionArchitecture.GetHashCode();
            hashCode -= FileName.GetHashCode();
            hashCode += MethodName.GetHashCode();

            return(hashCode);
        }
Пример #2
0
 public override String ToString() =>
 $"[{AssemblyName.Format()};{TargetRuntime.Format()};{TargetArchitecture.Format()};{ExecutionRuntime.Format()};{ExecutionArchitecture.Format()};{FileName.Format()};{MethodName.Format()}]";