Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetHashCode()

override int System.Security.Cryptography.CngProperty.GetHashCode ( )
inline

Definition at line 79 of file CngProperty.cs.

80 {
81 if (!_lazyHashCode.HasValue)
82 {
83 int num = Name.GetHashCode() ^ Options.GetHashCode();
84 if (_value != null)
85 {
86 for (int i = 0; i < _value.Length; i++)
87 {
88 int num2 = _value[i] << i % 4 * 8;
89 num ^= num2;
90 }
91 }
92 _lazyHashCode = num;
93 }
94 return _lazyHashCode.Value;
95 }

References System.Security.Cryptography.CngProperty._lazyHashCode, System.Security.Cryptography.CngProperty._value, System.Security.Cryptography.CngProperty.Name, and System.Security.Cryptography.CngProperty.Options.