1 write to Identity
Microsoft.CodeAnalysis (1)
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
187Identity = 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)
685Debug.Assert(other.Identity is object); 686if (identity.Version == other.Identity.Version) 693if (sameSimpleNameIdentities[0].Identity!.Version > identity.Version) 715Debug.Assert(other.Identity is object); 716if (other.Identity.IsStrongName && 717IdentityComparer.ReferenceMatchesDefinition(identity, other.Identity) && 718IdentityComparer.ReferenceMatchesDefinition(other.Identity, identity)) 730Debug.Assert(other.Identity is object); 731if (!other.Identity.IsStrongName && WeakIdentityPropertiesEquivalent(identity, other.Identity)) 739if (equivalent.Identity == null) 749Debug.Assert(equivalent.Identity.IsStrongName); 752if (identity != equivalent.Identity) 759MessageProvider.ReportDuplicateMetadataReferenceStrong(diagnostics, location, reference, identity, equivalent.Reference!, equivalent.Identity); 770Debug.Assert(!equivalent.Identity.IsStrongName); 778if (identity != equivalent.Identity) 780MessageProvider.ReportDuplicateMetadataReferenceWeak(diagnostics, location, reference, identity, equivalent.Reference!, equivalent.Identity);