1 write to Identity
Microsoft.CodeAnalysis (1)
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
188Identity = identity;
19 references to Identity
Microsoft.CodeAnalysis (19)
ReferenceManager\CommonReferenceManager.Binding.cs (2)
988Debug.Assert(value.Identity is object); 989return value.Identity.Version != identity.Version;
ReferenceManager\CommonReferenceManager.Resolution.cs (17)
686Debug.Assert(other.Identity is object); 687if (identity.Version == other.Identity.Version) 694if (sameSimpleNameIdentities[0].Identity!.Version > identity.Version) 716Debug.Assert(other.Identity is object); 717if (other.Identity.IsStrongName && 718IdentityComparer.ReferenceMatchesDefinition(identity, other.Identity) && 719IdentityComparer.ReferenceMatchesDefinition(other.Identity, identity)) 731Debug.Assert(other.Identity is object); 732if (!other.Identity.IsStrongName && WeakIdentityPropertiesEquivalent(identity, other.Identity)) 740if (equivalent.Identity == null) 750Debug.Assert(equivalent.Identity.IsStrongName); 753if (identity != equivalent.Identity) 760MessageProvider.ReportDuplicateMetadataReferenceStrong(diagnostics, location, reference, identity, equivalent.Reference!, equivalent.Identity); 771Debug.Assert(!equivalent.Identity.IsStrongName); 779if (identity != equivalent.Identity) 781MessageProvider.ReportDuplicateMetadataReferenceWeak(diagnostics, location, reference, identity, equivalent.Reference!, equivalent.Identity);