UsedNamespaceOrType comparing type argument incorrectly #7015
Labels
Area-Compilers
Concept-Determinism
The issue involves our ability to support determinism in binaries and PDBs created at build time.
Milestone
Consider the contents of the
Equals
methodThis is comparing
ITypeReference
values by reference instead of using theirEquals
method. In the case of generic types theITypeReference
values can be different objects for equivalent symbols and this comparison will incorrectly return false.This is actually breaking determinism on compilations that have a using alias where the target type is a bound generic. It causes the result of
ShouldForwardNamespaceScopes
to be non-deterministic and hence changes the PDB output and content id hash.The text was updated successfully, but these errors were encountered: