1 instantiation of ByteSequenceComparer
Microsoft.CodeAnalysis (1)
Collections\ByteSequenceComparer.cs (1)
18internal static readonly ByteSequenceComparer Instance = new ByteSequenceComparer();
10 references to ByteSequenceComparer
Microsoft.CodeAnalysis (10)
CodeGen\PrivateImplementationDetails.cs (2)
513ByteSequenceComparer.Equals(x.Data, y.Data); 516ByteSequenceComparer.GetHashCode(obj.Data); // purposefully not including Value, as it won't add meaningfully to the hash code
Collections\ByteSequenceComparer.cs (1)
18internal static readonly ByteSequenceComparer Instance = new ByteSequenceComparer();
DiagnosticAnalyzer\AdditionalTextComparer.cs (2)
50return ByteSequenceComparer.Equals(xText.GetChecksum(), yText.GetChecksum()); 56ByteSequenceComparer.GetHashCode(GetTextOrNullIfBinary(obj)?.GetChecksum() ?? ImmutableArray<byte>.Empty));
PEWriter\MetadataWriter.cs (2)
4339return x.Item2 == y.Item2 && ByteSequenceComparer.Equals(x.Item1, y.Item1); 4344return Hash.Combine(ByteSequenceComparer.GetHashCode(x.Item1), x.Item2.GetHashCode());
PEWriter\MetadataWriter.DynamicAnalysis.cs (1)
50_blobs = new Dictionary<ImmutableArray<byte>, BlobHandle>(1 + methodCountEstimate + 4 * documentCountEstimate, ByteSequenceComparer.Instance);
StrongName\CryptoBlobParser.cs (1)
116if (ByteSequenceComparer.Equals(blob, s_ecmaKey))
Symbols\ISymbolExtensions_PerformIVTCheck.cs (1)
85bool q4 = (q2 & q3) && ByteSequenceComparer.Equals(grantedToPublicKey, assemblyWantingAccessKey);