1 write to Identity
Microsoft.CodeAnalysis (1)
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
188
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)
686
Debug.Assert(other.
Identity
is object);
687
if (identity.Version == other.
Identity
.Version)
694
if (sameSimpleNameIdentities[0].
Identity
!.Version > identity.Version)
716
Debug.Assert(other.
Identity
is object);
717
if (other.
Identity
.IsStrongName &&
718
IdentityComparer.ReferenceMatchesDefinition(identity, other.
Identity
) &&
719
IdentityComparer.ReferenceMatchesDefinition(other.
Identity
, identity))
731
Debug.Assert(other.
Identity
is object);
732
if (!other.
Identity
.IsStrongName && WeakIdentityPropertiesEquivalent(identity, other.
Identity
))
740
if (equivalent.
Identity
== null)
750
Debug.Assert(equivalent.
Identity
.IsStrongName);
753
if (identity != equivalent.
Identity
)
760
MessageProvider.ReportDuplicateMetadataReferenceStrong(diagnostics, location, reference, identity, equivalent.Reference!, equivalent.
Identity
);
771
Debug.Assert(!equivalent.
Identity
.IsStrongName);
779
if (identity != equivalent.
Identity
)
781
MessageProvider.ReportDuplicateMetadataReferenceWeak(diagnostics, location, reference, identity, equivalent.Reference!, equivalent.
Identity
);