1 write to Identity
Microsoft.CodeAnalysis (1)
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
187
Identity
= identity;
19 references to Identity
Microsoft.CodeAnalysis (19)
ReferenceManager\CommonReferenceManager.Binding.cs (2)
988
Debug.Assert(value.
Identity
is object);
989
return value.
Identity
.Version != identity.Version;
ReferenceManager\CommonReferenceManager.Resolution.cs (17)
685
Debug.Assert(other.
Identity
is object);
686
if (identity.Version == other.
Identity
.Version)
693
if (sameSimpleNameIdentities[0].
Identity
!.Version > identity.Version)
715
Debug.Assert(other.
Identity
is object);
716
if (other.
Identity
.IsStrongName &&
717
IdentityComparer.ReferenceMatchesDefinition(identity, other.
Identity
) &&
718
IdentityComparer.ReferenceMatchesDefinition(other.
Identity
, identity))
730
Debug.Assert(other.
Identity
is object);
731
if (!other.
Identity
.IsStrongName && WeakIdentityPropertiesEquivalent(identity, other.
Identity
))
739
if (equivalent.
Identity
== null)
749
Debug.Assert(equivalent.
Identity
.IsStrongName);
752
if (identity != equivalent.
Identity
)
759
MessageProvider.ReportDuplicateMetadataReferenceStrong(diagnostics, location, reference, identity, equivalent.Reference!, equivalent.
Identity
);
770
Debug.Assert(!equivalent.
Identity
.IsStrongName);
778
if (identity != equivalent.
Identity
)
780
MessageProvider.ReportDuplicateMetadataReferenceWeak(diagnostics, location, reference, identity, equivalent.Reference!, equivalent.
Identity
);