示例#1
0
        public override int GetHashCode()
        {
            unchecked {
                uint h = 0;

                h ^= FullDecompilation ? 0 : 0x80000000U;
                h ^= (uint)(SaveAsProjectDirectory ?? string.Empty).ToUpperInvariant().GetHashCode();
                h ^= DontReferenceStdLib ? 0 : 0x40000000U;
                if (ProjectFiles != null)
                {
                    foreach (var projFile in ProjectFiles)
                    {
                        h ^= (uint)projFile.GetHashCode();
                    }
                }
                if (ProjectGuid != null)
                {
                    h ^= (uint)ProjectGuid.Value.GetHashCode();
                }
                h ^= DontShowCreateMethodBodyExceptions ? 0 : 0x20000000U;
                // Ignore: CancellationToken
                h ^= (uint)DecompilerSettings.GetHashCode();
                // Ignore: TextViewState

                return((int)h);
            }
        }
 public override int GetHashCode() => decompilerSettings.GetHashCode();
示例#3
0
 protected override int GetHashCodeCore() => decompilerSettings.GetHashCode();
示例#4
0
 public override int GetHashCode()
 {
     return(decompilerSettings.GetHashCode());
 }